Class HdfsOrcDataSource
java.lang.Object
io.trino.orc.AbstractOrcDataSource
io.trino.plugin.hive.orc.HdfsOrcDataSource
- All Implemented Interfaces:
OrcDataSource,Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionHdfsOrcDataSource(OrcDataSourceId id, long size, OrcReaderOptions options, TrinoInputFile inputFile, 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
-
HdfsOrcDataSource
public HdfsOrcDataSource(OrcDataSourceId id, long size, OrcReaderOptions options, TrinoInputFile inputFile, 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) - Specified by:
readInternalin classAbstractOrcDataSource
-