Class IndexCreationContext.Common
- java.lang.Object
-
- org.apache.pinot.segment.spi.creator.IndexCreationContext.Common
-
- All Implemented Interfaces:
IndexCreationContext
- Enclosing interface:
- IndexCreationContext
public static final class IndexCreationContext.Common extends Object implements IndexCreationContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pinot.segment.spi.creator.IndexCreationContext
IndexCreationContext.BloomFilter, IndexCreationContext.Builder, IndexCreationContext.Common, IndexCreationContext.Forward, IndexCreationContext.Geospatial, IndexCreationContext.Inverted, IndexCreationContext.Json, IndexCreationContext.Range, IndexCreationContext.Text, IndexCreationContext.Wrapper
-
-
Constructor Summary
Constructors Constructor Description Common(File indexDir, int lengthOfLongestEntry, int maxNumberOfMultiValueElements, int maxRowLengthInBytes, boolean onHeap, FieldSpec fieldSpec, boolean sorted, int cardinality, int totalNumberOfEntries, int totalDocs, boolean hasDictionary, Comparable<?> minValue, Comparable<?> maxValue, boolean forwardIndexDisabled)
-
Method Summary
-
-
-
Constructor Detail
-
Common
public Common(File indexDir, int lengthOfLongestEntry, int maxNumberOfMultiValueElements, int maxRowLengthInBytes, boolean onHeap, FieldSpec fieldSpec, boolean sorted, int cardinality, int totalNumberOfEntries, int totalDocs, boolean hasDictionary, Comparable<?> minValue, Comparable<?> maxValue, boolean forwardIndexDisabled)
-
-
Method Detail
-
getFieldSpec
public FieldSpec getFieldSpec()
- Specified by:
getFieldSpecin interfaceIndexCreationContext
-
getIndexDir
public File getIndexDir()
- Specified by:
getIndexDirin interfaceIndexCreationContext
-
isOnHeap
public boolean isOnHeap()
- Specified by:
isOnHeapin interfaceIndexCreationContext
-
getLengthOfLongestEntry
public int getLengthOfLongestEntry()
- Specified by:
getLengthOfLongestEntryin interfaceIndexCreationContext
-
getMaxNumberOfMultiValueElements
public int getMaxNumberOfMultiValueElements()
- Specified by:
getMaxNumberOfMultiValueElementsin interfaceIndexCreationContext
-
getMaxRowLengthInBytes
public int getMaxRowLengthInBytes()
- Specified by:
getMaxRowLengthInBytesin interfaceIndexCreationContext
-
isSorted
public boolean isSorted()
- Specified by:
isSortedin interfaceIndexCreationContext
-
getCardinality
public int getCardinality()
- Specified by:
getCardinalityin interfaceIndexCreationContext
-
getTotalNumberOfEntries
public int getTotalNumberOfEntries()
- Specified by:
getTotalNumberOfEntriesin interfaceIndexCreationContext
-
getTotalDocs
public int getTotalDocs()
- Specified by:
getTotalDocsin interfaceIndexCreationContext
-
hasDictionary
public boolean hasDictionary()
- Specified by:
hasDictionaryin interfaceIndexCreationContext
-
getMinValue
public Comparable<?> getMinValue()
- Specified by:
getMinValuein interfaceIndexCreationContext
-
getMaxValue
public Comparable<?> getMaxValue()
- Specified by:
getMaxValuein interfaceIndexCreationContext
-
forwardIndexDisabled
public boolean forwardIndexDisabled()
- Specified by:
forwardIndexDisabledin interfaceIndexCreationContext
-
forBloomFilter
public IndexCreationContext.BloomFilter forBloomFilter(BloomFilterConfig bloomFilterConfig)
-
forForwardIndex
public IndexCreationContext.Forward forForwardIndex(ChunkCompressionType chunkCompressionType, @Nullable Map<String,Map<String,String>> columnProperties)
-
forFSTIndex
public IndexCreationContext.Text forFSTIndex(FSTType fstType, String[] sortedUniqueElementsArray)
-
forGeospatialIndex
public IndexCreationContext.Geospatial forGeospatialIndex(H3IndexConfig h3IndexConfig)
-
forInvertedIndex
public IndexCreationContext.Inverted forInvertedIndex()
-
forJsonIndex
public IndexCreationContext.Json forJsonIndex(JsonIndexConfig jsonIndexConfig)
-
forRangeIndex
public IndexCreationContext.Range forRangeIndex(int rangeIndexVersion)
-
-