Class PhysicalColumnIndexContainer
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.column.PhysicalColumnIndexContainer
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ColumnIndexContainer
public final class PhysicalColumnIndexContainer extends Object implements ColumnIndexContainer
-
-
Constructor Summary
Constructors Constructor Description PhysicalColumnIndexContainer(SegmentDirectory.Reader segmentReader, ColumnMetadata metadata, IndexLoadingConfig indexLoadingConfig, File segmentIndexDir, IndexReaderProvider indexReaderProvider)
-
Method Summary
Modifier and Type Method Description voidclose()BloomFilterReadergetBloomFilter()BaseImmutableDictionarygetDictionary()ForwardIndexReader<?>getForwardIndex()TextIndexReadergetFSTIndex()H3IndexReadergetH3Index()InvertedIndexReader<?>getInvertedIndex()JsonIndexReadergetJsonIndex()NullValueVectorReadergetNullValueVector()RangeIndexReader<?>getRangeIndex()TextIndexReadergetTextIndex()static BaseImmutableDictionaryloadDictionary(PinotDataBuffer dictionaryBuffer, ColumnMetadata metadata, boolean loadOnHeap)
-
-
-
Constructor Detail
-
PhysicalColumnIndexContainer
public PhysicalColumnIndexContainer(SegmentDirectory.Reader segmentReader, ColumnMetadata metadata, IndexLoadingConfig indexLoadingConfig, File segmentIndexDir, IndexReaderProvider indexReaderProvider) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getForwardIndex
public ForwardIndexReader<?> getForwardIndex()
- Specified by:
getForwardIndexin interfaceColumnIndexContainer
-
getInvertedIndex
public InvertedIndexReader<?> getInvertedIndex()
- Specified by:
getInvertedIndexin interfaceColumnIndexContainer
-
getRangeIndex
public RangeIndexReader<?> getRangeIndex()
- Specified by:
getRangeIndexin interfaceColumnIndexContainer
-
getTextIndex
public TextIndexReader getTextIndex()
- Specified by:
getTextIndexin interfaceColumnIndexContainer
-
getJsonIndex
public JsonIndexReader getJsonIndex()
- Specified by:
getJsonIndexin interfaceColumnIndexContainer
-
getH3Index
public H3IndexReader getH3Index()
- Specified by:
getH3Indexin interfaceColumnIndexContainer
-
getDictionary
public BaseImmutableDictionary getDictionary()
- Specified by:
getDictionaryin interfaceColumnIndexContainer
-
getBloomFilter
public BloomFilterReader getBloomFilter()
- Specified by:
getBloomFilterin interfaceColumnIndexContainer
-
getFSTIndex
public TextIndexReader getFSTIndex()
- Specified by:
getFSTIndexin interfaceColumnIndexContainer
-
getNullValueVector
public NullValueVectorReader getNullValueVector()
- Specified by:
getNullValueVectorin interfaceColumnIndexContainer
-
loadDictionary
public static BaseImmutableDictionary loadDictionary(PinotDataBuffer dictionaryBuffer, ColumnMetadata metadata, boolean loadOnHeap)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-