Class IntermediateIndexContainer
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.column.IntermediateIndexContainer
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class IntermediateIndexContainer extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description IntermediateIndexContainer(FieldSpec fieldSpec, PartitionFunction partitionFunction, Set<Integer> partitions, NumValuesInfo numValuesInfo, MutableForwardIndex forwardIndex, MutableDictionary dictionary)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetDictId()int[]getDictIds()MutableDictionarygetDictionary()FieldSpecgetFieldSpec()MutableForwardIndexgetForwardIndex()ComparablegetMaxValue()ComparablegetMinValue()NumValuesInfogetNumValuesInfo()voidsetDictId(int dictId)voidsetDictIds(int[] dictIds)voidsetMaxValue(Comparable maxValue)voidsetMinValue(Comparable minValue)DataSourcetoDataSource(int numDocsIndexed)
-
-
-
Constructor Detail
-
IntermediateIndexContainer
public IntermediateIndexContainer(FieldSpec fieldSpec, @Nullable PartitionFunction partitionFunction, @Nullable Set<Integer> partitions, NumValuesInfo numValuesInfo, MutableForwardIndex forwardIndex, MutableDictionary dictionary)
-
-
Method Detail
-
toDataSource
public DataSource toDataSource(int numDocsIndexed)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getFieldSpec
public FieldSpec getFieldSpec()
-
getNumValuesInfo
public NumValuesInfo getNumValuesInfo()
-
getForwardIndex
public MutableForwardIndex getForwardIndex()
-
getDictionary
public MutableDictionary getDictionary()
-
getDictId
public int getDictId()
-
setDictId
public void setDictId(int dictId)
-
getDictIds
public int[] getDictIds()
-
setDictIds
public void setDictIds(int[] dictIds)
-
getMinValue
public Comparable getMinValue()
-
setMinValue
public void setMinValue(Comparable minValue)
-
getMaxValue
public Comparable getMaxValue()
-
setMaxValue
public void setMaxValue(Comparable maxValue)
-
-