summaryrefslogtreecommitdiffstats
path: root/ydb/core/tablet_flat/flat_comp_create.h
blob: 5fa047203ea4bb93d92b1eb0cb92f848b5f9f1a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include "flat_comp.h"
#include "util_fmt_line.h"

#include <library/cpp/time_provider/time_provider.h>

namespace NKikimr {
namespace NTable {

    THolder<ICompactionStrategy> CreateGenCompactionStrategy(
            ui32 table,
            ICompactionBackend* backend,
            IResourceBroker* broker,
            ITimeProvider* time,
            TString taskNameSuffix);

    THolder<ICompactionStrategy> CreateShardedCompactionStrategy(
            ui32 table,
            ICompactionBackend* backend,
            IResourceBroker* broker,
            NUtil::ILogger* logger,
            ITimeProvider* time,
            TString taskNameSuffix);

}
}