Package io.trino.orc.reader
Class SliceDirectColumnReader
java.lang.Object
io.trino.orc.reader.SliceDirectColumnReader
- All Implemented Interfaces:
ColumnReader
-
Constructor Summary
ConstructorsConstructorDescriptionSliceDirectColumnReader(OrcColumn column, int maxCodePointCount, boolean isCharType) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidprepareNextRead(int batchSize) voidstartRowGroup(InputStreamSources dataStreamSources) voidstartStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding) toString()
-
Constructor Details
-
SliceDirectColumnReader
-
-
Method Details
-
prepareNextRead
public void prepareNextRead(int batchSize) - Specified by:
prepareNextReadin interfaceColumnReader
-
readBlock
- Specified by:
readBlockin interfaceColumnReader- Throws:
IOException
-
startStripe
public void startStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding) - Specified by:
startStripein interfaceColumnReader
-
startRowGroup
- Specified by:
startRowGroupin interfaceColumnReader
-
toString
-
close
public void close()- Specified by:
closein interfaceColumnReader
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()- Specified by:
getRetainedSizeInBytesin interfaceColumnReader
-