Class ConstantMVForwardIndexReader
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.readers.constant.ConstantMVForwardIndexReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ForwardIndexReader<ForwardIndexReaderContext>
public final class ConstantMVForwardIndexReader extends Object implements ForwardIndexReader<ForwardIndexReaderContext>
Dictionary-encoded forward index reader for multi-value column with constant values.
-
-
Constructor Summary
Constructors Constructor Description ConstantMVForwardIndexReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetDictIdMV(int docId, int[] dictIdBuffer, ForwardIndexReaderContext context)int[]getDictIdMV(int docId, ForwardIndexReaderContext context)intgetNumValuesMV(int docId, ForwardIndexReaderContext context)FieldSpec.DataTypegetStoredType()booleanisDictionaryEncoded()booleanisSingleValue()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.pinot.segment.spi.index.reader.ForwardIndexReader
createContext, getBigDecimal, getBytes, getBytesMV, getBytesMV, getDictId, getDouble, getDoubleMV, getDoubleMV, getFloat, getFloatMV, getFloatMV, getInt, getIntMV, getIntMV, getLong, getLongMV, getLongMV, getString, getStringMV, getStringMV, readDictIds, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesSV, readValuesSV, readValuesSV, readValuesSV, readValuesSV
-
-
-
-
Method Detail
-
isDictionaryEncoded
public boolean isDictionaryEncoded()
- Specified by:
isDictionaryEncodedin interfaceForwardIndexReader<ForwardIndexReaderContext>
-
isSingleValue
public boolean isSingleValue()
- Specified by:
isSingleValuein interfaceForwardIndexReader<ForwardIndexReaderContext>
-
getStoredType
public FieldSpec.DataType getStoredType()
- Specified by:
getStoredTypein interfaceForwardIndexReader<ForwardIndexReaderContext>
-
getDictIdMV
public int getDictIdMV(int docId, int[] dictIdBuffer, ForwardIndexReaderContext context)- Specified by:
getDictIdMVin interfaceForwardIndexReader<ForwardIndexReaderContext>
-
getDictIdMV
public int[] getDictIdMV(int docId, ForwardIndexReaderContext context)- Specified by:
getDictIdMVin interfaceForwardIndexReader<ForwardIndexReaderContext>
-
getNumValuesMV
public int getNumValuesMV(int docId, ForwardIndexReaderContext context)- Specified by:
getNumValuesMVin interfaceForwardIndexReader<ForwardIndexReaderContext>
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
-