Package io.trino.orc.stream
Class UncompressedOrcChunkLoader
- java.lang.Object
-
- io.trino.orc.stream.UncompressedOrcChunkLoader
-
- All Implemented Interfaces:
OrcChunkLoader
public final class UncompressedOrcChunkLoader extends Object implements OrcChunkLoader
-
-
Constructor Summary
Constructors Constructor Description UncompressedOrcChunkLoader(OrcDataReader dataReader, AggregatedMemoryContext memoryContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetLastCheckpoint()OrcDataSourceIdgetOrcDataSourceId()booleanhasNextChunk()io.airlift.slice.SlicenextChunk()voidseekToCheckpoint(long checkpoint)StringtoString()
-
-
-
Constructor Detail
-
UncompressedOrcChunkLoader
public UncompressedOrcChunkLoader(OrcDataReader dataReader, AggregatedMemoryContext memoryContext)
-
-
Method Detail
-
getOrcDataSourceId
public OrcDataSourceId getOrcDataSourceId()
- Specified by:
getOrcDataSourceIdin interfaceOrcChunkLoader
-
hasNextChunk
public boolean hasNextChunk()
- Specified by:
hasNextChunkin interfaceOrcChunkLoader
-
getLastCheckpoint
public long getLastCheckpoint()
- Specified by:
getLastCheckpointin interfaceOrcChunkLoader
-
seekToCheckpoint
public void seekToCheckpoint(long checkpoint) throws OrcCorruptionException- Specified by:
seekToCheckpointin interfaceOrcChunkLoader- Throws:
OrcCorruptionException
-
nextChunk
public io.airlift.slice.Slice nextChunk() throws IOException- Specified by:
nextChunkin interfaceOrcChunkLoader- Throws:
IOException
-
-