Class H3IndexHandler
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.loader.BaseIndexHandler
-
- org.apache.pinot.segment.local.segment.index.loader.invertedindex.H3IndexHandler
-
- All Implemented Interfaces:
IndexHandler
public class H3IndexHandler extends BaseIndexHandler
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.segment.local.segment.index.loader.BaseIndexHandler
_indexLoadingConfig, _segmentMetadata, _tmpForwardIndexColumns
-
-
Constructor Summary
Constructors Constructor Description H3IndexHandler(SegmentMetadata segmentMetadata, IndexLoadingConfig indexLoadingConfig)
-
Method Summary
Modifier and Type Method Description booleanneedUpdateIndices(SegmentDirectory.Reader segmentReader)Check if there is a need to add new indices or removes obsolete indices.voidupdateIndices(SegmentDirectory.Writer segmentWriter, IndexCreatorProvider indexCreatorProvider)Adds new indices and removes obsolete indices.-
Methods inherited from class org.apache.pinot.segment.local.segment.index.loader.BaseIndexHandler
createForwardIndexIfNeeded, postUpdateIndicesCleanup
-
-
-
-
Constructor Detail
-
H3IndexHandler
public H3IndexHandler(SegmentMetadata segmentMetadata, IndexLoadingConfig indexLoadingConfig)
-
-
Method Detail
-
needUpdateIndices
public boolean needUpdateIndices(SegmentDirectory.Reader segmentReader)
Description copied from interface:IndexHandlerCheck if there is a need to add new indices or removes obsolete indices.- Returns:
- true if there is a need to update.
-
updateIndices
public void updateIndices(SegmentDirectory.Writer segmentWriter, IndexCreatorProvider indexCreatorProvider) throws Exception
Description copied from interface:IndexHandlerAdds new indices and removes obsolete indices.- Throws:
Exception
-
-