Class ConcurrentMapTableUpsertMetadataManager
- java.lang.Object
-
- org.apache.pinot.segment.local.upsert.BaseTableUpsertMetadataManager
-
- org.apache.pinot.segment.local.upsert.ConcurrentMapTableUpsertMetadataManager
-
- All Implemented Interfaces:
Closeable,AutoCloseable,TableUpsertMetadataManager
@ThreadSafe public class ConcurrentMapTableUpsertMetadataManager extends BaseTableUpsertMetadataManager
Implementation ofTableUpsertMetadataManagerthat is backed by aConcurrentHashMap.
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.segment.local.upsert.BaseTableUpsertMetadataManager
_comparisonColumns, _deleteRecordColumn, _enableSnapshot, _hashFunction, _helixManager, _metadataTTL, _partialUpsertHandler, _primaryKeyColumns, _schema, _segmentPreloadExecutor, _serverMetrics, _tableConfig, _tableDataManager, _tableIndexDir, _tableNameWithType
-
-
Constructor Summary
Constructors Constructor Description ConcurrentMapTableUpsertMetadataManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()ConcurrentMapPartitionUpsertMetadataManagergetOrCreatePartitionManager(int partitionId)voidstop()Stops the metadata manager.-
Methods inherited from class org.apache.pinot.segment.local.upsert.BaseTableUpsertMetadataManager
createIndexLoadingConfig, getUpsertMode, init, initCustomVariables, isPreloading, onPreloadFinish, onPreloadStart, preloadSegmentWithSnapshot
-
-
-
-
Method Detail
-
getOrCreatePartitionManager
public ConcurrentMapPartitionUpsertMetadataManager getOrCreatePartitionManager(int partitionId)
-
stop
public void stop()
Description copied from interface:TableUpsertMetadataManagerStops the metadata manager. After invoking this method, no access to the metadata will be accepted.
-
close
public void close() throws IOException- Throws:
IOException
-
-