Class FixedByteChunkSVForwardIndexReader
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.readers.forward.BaseChunkForwardIndexReader
-
- org.apache.pinot.segment.local.segment.index.readers.forward.FixedByteChunkSVForwardIndexReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable,ForwardIndexReader<ChunkReaderContext>
public final class FixedByteChunkSVForwardIndexReader extends BaseChunkForwardIndexReader
Chunk-based single-value raw (non-dictionary-encoded) forward index reader for values of fixed length data type (INT, LONG, FLOAT, DOUBLE).For data layout, please refer to the documentation for
FixedByteChunkSVForwardIndexWriter
-
-
Field Summary
-
Fields inherited from class org.apache.pinot.segment.local.segment.index.readers.forward.BaseChunkForwardIndexReader
_chunkDecompressor, _compressionType, _dataBuffer, _dataHeader, _headerEntryChunkOffsetSize, _isCompressed, _isSingleValue, _lengthOfLongestEntry, _numChunks, _numDocsPerChunk, _rawData, _storedType
-
-
Constructor Summary
Constructors Constructor Description FixedByteChunkSVForwardIndexReader(PinotDataBuffer dataBuffer, FieldSpec.DataType valueType)
-
Method Summary
Modifier and Type Method Description ChunkReaderContextcreateContext()doublegetDouble(int docId, ChunkReaderContext context)floatgetFloat(int docId, ChunkReaderContext context)intgetInt(int docId, ChunkReaderContext context)longgetLong(int docId, ChunkReaderContext context)-
Methods inherited from class org.apache.pinot.segment.local.segment.index.readers.forward.BaseChunkForwardIndexReader
close, decompressChunk, getChunkBuffer, getChunkPosition, getCompressionType, getLengthOfLongestEntry, getStoredType, isDictionaryEncoded, isSingleValue, readValuesSV, readValuesSV, readValuesSV, readValuesSV
-
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
getBigDecimal, getBytes, getBytesMV, getBytesMV, getDictId, getDictIdMV, getDictIdMV, getDoubleMV, getDoubleMV, getFloatMV, getFloatMV, getIntMV, getIntMV, getLongMV, getLongMV, getNumValuesMV, getString, getStringMV, getStringMV, readDictIds, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesMV, readValuesSV
-
-
-
-
Constructor Detail
-
FixedByteChunkSVForwardIndexReader
public FixedByteChunkSVForwardIndexReader(PinotDataBuffer dataBuffer, FieldSpec.DataType valueType)
-
-
Method Detail
-
createContext
@Nullable public ChunkReaderContext createContext()
-
getInt
public int getInt(int docId, ChunkReaderContext context)
-
getLong
public long getLong(int docId, ChunkReaderContext context)
-
getFloat
public float getFloat(int docId, ChunkReaderContext context)
-
getDouble
public double getDouble(int docId, ChunkReaderContext context)
-
-