Package io.trino.orc.reader
Interface ColumnReader
- All Known Implementing Classes:
BooleanColumnReader,ByteColumnReader,DecimalColumnReader,DoubleColumnReader,FloatColumnReader,ListColumnReader,LongColumnReader,MapColumnReader,SliceColumnReader,SliceDictionaryColumnReader,SliceDirectColumnReader,StructColumnReader,TimeColumnReader,TimestampColumnReader,UnionColumnReader,UuidColumnReader
public interface ColumnReader
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longvoidprepareNextRead(int batchSize) voidstartRowGroup(InputStreamSources dataStreamSources) voidstartStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding)
-
Method Details
-
readBlock
- Throws:
IOException
-
prepareNextRead
void prepareNextRead(int batchSize) -
startStripe
void startStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding) throws IOException - Throws:
IOException
-
startRowGroup
- Throws:
IOException
-
close
void close() -
getRetainedSizeInBytes
long getRetainedSizeInBytes()
-