Interface TableUpsertMetadataManager
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
BaseTableUpsertMetadataManager,ConcurrentMapTableUpsertMetadataManager
@ThreadSafe public interface TableUpsertMetadataManager extends Closeable
The manager of the upsert metadata of a table.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PartitionUpsertMetadataManagergetOrCreatePartitionManager(int partitionId)UpsertConfig.ModegetUpsertMode()voidinit(TableConfig tableConfig, Schema schema, TableDataManager tableDataManager, ServerMetrics serverMetrics, org.apache.helix.HelixManager helixManager, ExecutorService segmentPreloadExecutor)booleanisPreloading()voidstop()Stops the metadata manager.
-
-
-
Method Detail
-
init
void init(TableConfig tableConfig, Schema schema, TableDataManager tableDataManager, ServerMetrics serverMetrics, org.apache.helix.HelixManager helixManager, @Nullable ExecutorService segmentPreloadExecutor)
-
getOrCreatePartitionManager
PartitionUpsertMetadataManager getOrCreatePartitionManager(int partitionId)
-
getUpsertMode
UpsertConfig.Mode getUpsertMode()
-
stop
void stop()
Stops the metadata manager. After invoking this method, no access to the metadata will be accepted.
-
isPreloading
boolean isPreloading()
-
-