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
public interface ColumnReader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()longgetRetainedSizeInBytes()voidprepareNextRead(int batchSize)BlockreadBlock()voidstartRowGroup(InputStreamSources dataStreamSources)voidstartStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding)
-
-
-
Method Detail
-
readBlock
Block readBlock() throws IOException
- Throws:
IOException
-
prepareNextRead
void prepareNextRead(int batchSize)
-
startStripe
void startStripe(ZoneId fileTimeZone, InputStreamSources dictionaryStreamSources, ColumnMetadata<ColumnEncoding> encoding) throws IOException
- Throws:
IOException
-
startRowGroup
void startRowGroup(InputStreamSources dataStreamSources) throws IOException
- Throws:
IOException
-
close
void close()
-
getRetainedSizeInBytes
long getRetainedSizeInBytes()
-
-