Package io.trino.plugin.iceberg
Class TrinoOrcDataSource
java.lang.Object
io.trino.orc.AbstractOrcDataSource
io.trino.plugin.iceberg.TrinoOrcDataSource
- All Implemented Interfaces:
OrcDataSource,Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionTrinoOrcDataSource(TrinoInputFile file, OrcReaderOptions options, FileFormatDataSourceStats stats) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidreadInternal(long position, byte[] buffer, int bufferOffset, int bufferLength) protected io.airlift.slice.SlicereadTailInternal(int length) Methods inherited from class io.trino.orc.AbstractOrcDataSource
getEstimatedSize, getId, getReadBytes, getReadTimeNanos, getRetainedSize, readFully, readFully, readTail, toString
-
Constructor Details
-
TrinoOrcDataSource
public TrinoOrcDataSource(TrinoInputFile file, OrcReaderOptions options, FileFormatDataSourceStats stats) throws IOException - Throws:
IOException
-
-
Method Details
-
close
- Throws:
IOException
-
readTailInternal
- Overrides:
readTailInternalin classAbstractOrcDataSource- Throws:
IOException
-
readInternal
protected void readInternal(long position, byte[] buffer, int bufferOffset, int bufferLength) throws IOException - Specified by:
readInternalin classAbstractOrcDataSource- Throws:
IOException
-