Class MutableIndexContext.Common
- java.lang.Object
-
- org.apache.pinot.segment.spi.index.mutable.provider.MutableIndexContext.Common
-
- All Implemented Interfaces:
MutableIndexContext
- Enclosing interface:
- MutableIndexContext
public static final class MutableIndexContext.Common extends Object implements MutableIndexContext
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.pinot.segment.spi.index.mutable.provider.MutableIndexContext
MutableIndexContext.Builder, MutableIndexContext.Common, MutableIndexContext.Dictionary, MutableIndexContext.Forward, MutableIndexContext.Inverted, MutableIndexContext.Json, MutableIndexContext.Text, MutableIndexContext.Wrapper
-
-
Constructor Summary
Constructors Constructor Description Common(FieldSpec fieldSpec, boolean hasDictionary, String segmentName, PinotDataBufferMemoryManager memoryManager, int capacity, boolean offHeap)
-
Method Summary
Modifier and Type Method Description MutableIndexContext.DictionaryforDictionary(int estimatedColSize, int estimatedCardinality)MutableIndexContext.ForwardforForwardIndex(int avgNumMultiValues)MutableIndexContext.InvertedforInvertedIndex()MutableIndexContext.JsonforJsonIndex(JsonIndexConfig jsonIndexConfig)MutableIndexContext.TextforTextIndex()intgetCapacity()FieldSpecgetFieldSpec()PinotDataBufferMemoryManagergetMemoryManager()StringgetSegmentName()booleanhasDictionary()booleanisOffHeap()
-
-
-
Constructor Detail
-
Common
public Common(FieldSpec fieldSpec, boolean hasDictionary, String segmentName, PinotDataBufferMemoryManager memoryManager, int capacity, boolean offHeap)
-
-
Method Detail
-
getMemoryManager
public PinotDataBufferMemoryManager getMemoryManager()
- Specified by:
getMemoryManagerin interfaceMutableIndexContext
-
getSegmentName
public String getSegmentName()
- Specified by:
getSegmentNamein interfaceMutableIndexContext
-
getFieldSpec
public FieldSpec getFieldSpec()
- Specified by:
getFieldSpecin interfaceMutableIndexContext
-
hasDictionary
public boolean hasDictionary()
- Specified by:
hasDictionaryin interfaceMutableIndexContext
-
getCapacity
public int getCapacity()
- Specified by:
getCapacityin interfaceMutableIndexContext
-
isOffHeap
public boolean isOffHeap()
- Specified by:
isOffHeapin interfaceMutableIndexContext
-
forDictionary
public MutableIndexContext.Dictionary forDictionary(int estimatedColSize, int estimatedCardinality)
-
forForwardIndex
public MutableIndexContext.Forward forForwardIndex(int avgNumMultiValues)
-
forInvertedIndex
public MutableIndexContext.Inverted forInvertedIndex()
-
forJsonIndex
public MutableIndexContext.Json forJsonIndex(JsonIndexConfig jsonIndexConfig)
-
forTextIndex
public MutableIndexContext.Text forTextIndex()
-
-