Class VarByteChunkSVForwardIndexReaderV4
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.readers.forward.VarByteChunkSVForwardIndexReaderV4
-
- All Implemented Interfaces:
Closeable,AutoCloseable,IndexReader,ForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
public class VarByteChunkSVForwardIndexReaderV4 extends Object implements ForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVarByteChunkSVForwardIndexReaderV4.ReaderContext
-
Constructor Summary
Constructors Constructor Description VarByteChunkSVForwardIndexReaderV4(PinotDataBuffer dataBuffer, FieldSpec.DataType storedType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()VarByteChunkSVForwardIndexReaderV4.ReaderContextcreateContext()BigDecimalgetBigDecimal(int docId, VarByteChunkSVForwardIndexReaderV4.ReaderContext context)byte[]getBytes(int docId, VarByteChunkSVForwardIndexReaderV4.ReaderContext context)FieldSpec.DataTypegetStoredType()StringgetString(int docId, VarByteChunkSVForwardIndexReaderV4.ReaderContext context)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
getBytesMV, getBytesMV, getCompressionType, getDictId, getDictIdMV, getDictIdMV, getDouble, getDoubleMV, getDoubleMV, getFloat, getFloatMV, getFloatMV, getInt, getIntMV, getIntMV, getLengthOfLongestEntry, getLong, getLongMV, getLongMV, getNumValuesMV, getStringMV, getStringMV, readDictIds, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesSV, readValuesSV, readValuesSV, readValuesSV, readValuesSV
-
-
-
-
Constructor Detail
-
VarByteChunkSVForwardIndexReaderV4
public VarByteChunkSVForwardIndexReaderV4(PinotDataBuffer dataBuffer, FieldSpec.DataType storedType)
-
-
Method Detail
-
isDictionaryEncoded
public boolean isDictionaryEncoded()
- Specified by:
isDictionaryEncodedin interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
isSingleValue
public boolean isSingleValue()
- Specified by:
isSingleValuein interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
getStoredType
public FieldSpec.DataType getStoredType()
- Specified by:
getStoredTypein interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
getBigDecimal
public BigDecimal getBigDecimal(int docId, VarByteChunkSVForwardIndexReaderV4.ReaderContext context)
- Specified by:
getBigDecimalin interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
getString
public String getString(int docId, VarByteChunkSVForwardIndexReaderV4.ReaderContext context)
- Specified by:
getStringin interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
getBytes
public byte[] getBytes(int docId, VarByteChunkSVForwardIndexReaderV4.ReaderContext context)- Specified by:
getBytesin interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
createContext
@Nullable public VarByteChunkSVForwardIndexReaderV4.ReaderContext createContext()
- Specified by:
createContextin interfaceForwardIndexReader<VarByteChunkSVForwardIndexReaderV4.ReaderContext>
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-