Class PinotSegmentColumnReader
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.readers.PinotSegmentColumnReader
-
- All Implemented Interfaces:
Closeable,AutoCloseable
public class PinotSegmentColumnReader extends Object implements Closeable
-
-
Constructor Summary
Constructors Constructor Description PinotSegmentColumnReader(ForwardIndexReader forwardIndexReader, Dictionary dictionary, NullValueVectorReader nullValueVectorReader, int maxNumValuesPerMVEntry)PinotSegmentColumnReader(IndexSegment indexSegment, String column)
-
Method Summary
Modifier and Type Method Description voidclose()intgetDictId(int docId)DictionarygetDictionary()ObjectgetValue(int docId)booleanhasDictionary()booleanisNull(int docId)booleanisSingleValue()
-
-
-
Constructor Detail
-
PinotSegmentColumnReader
public PinotSegmentColumnReader(IndexSegment indexSegment, String column)
-
PinotSegmentColumnReader
public PinotSegmentColumnReader(ForwardIndexReader forwardIndexReader, @Nullable Dictionary dictionary, @Nullable NullValueVectorReader nullValueVectorReader, int maxNumValuesPerMVEntry)
-
-
Method Detail
-
isSingleValue
public boolean isSingleValue()
-
hasDictionary
public boolean hasDictionary()
-
getDictionary
public Dictionary getDictionary()
-
getDictId
public int getDictId(int docId)
-
getValue
public Object getValue(int docId)
-
isNull
public boolean isNull(int docId)
-
close
public void close() throws IOException- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
-