Package io.trino.orc.stream
Class CompressedOrcChunkLoader
java.lang.Object
io.trino.orc.stream.CompressedOrcChunkLoader
- All Implemented Interfaces:
OrcChunkLoader
-
Constructor Summary
ConstructorsConstructorDescriptionCompressedOrcChunkLoader(OrcDataReader dataReader, OrcDecompressor decompressor, AggregatedMemoryContext memoryContext) -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanio.airlift.slice.SlicevoidseekToCheckpoint(long checkpoint) toString()
-
Constructor Details
-
CompressedOrcChunkLoader
public CompressedOrcChunkLoader(OrcDataReader dataReader, OrcDecompressor decompressor, AggregatedMemoryContext memoryContext)
-
-
Method Details
-
getOrcDataSourceId
- Specified by:
getOrcDataSourceIdin interfaceOrcChunkLoader
-
hasNextChunk
public boolean hasNextChunk()- Specified by:
hasNextChunkin interfaceOrcChunkLoader
-
getLastCheckpoint
public long getLastCheckpoint()- Specified by:
getLastCheckpointin interfaceOrcChunkLoader
-
seekToCheckpoint
- Specified by:
seekToCheckpointin interfaceOrcChunkLoader- Throws:
IOException
-
nextChunk
- Specified by:
nextChunkin interfaceOrcChunkLoader- Throws:
IOException
-
toString
-