Package io.trino.orc
Class FileOrcDataSource
- java.lang.Object
-
- io.trino.orc.AbstractOrcDataSource
-
- io.trino.orc.FileOrcDataSource
-
- All Implemented Interfaces:
OrcDataSource,Closeable,AutoCloseable
public class FileOrcDataSource extends AbstractOrcDataSource
-
-
Constructor Summary
Constructors Constructor Description FileOrcDataSource(File path, OrcReaderOptions options)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidreadInternal(long position, byte[] buffer, int bufferOffset, int bufferLength)-
Methods inherited from class io.trino.orc.AbstractOrcDataSource
getEstimatedSize, getId, getReadBytes, getReadTimeNanos, getRetainedSize, readFully, readFully, readTail, readTailInternal, toString
-
-
-
-
Constructor Detail
-
FileOrcDataSource
public FileOrcDataSource(File path, OrcReaderOptions options) throws FileNotFoundException
- Throws:
FileNotFoundException
-
-
Method Detail
-
close
public void close() throws IOException- Throws:
IOException
-
readInternal
protected void readInternal(long position, byte[] buffer, int bufferOffset, int bufferLength) throws IOException- Specified by:
readInternalin classAbstractOrcDataSource- Throws:
IOException
-
-