Class TrinoParquetDataSource
java.lang.Object
io.trino.parquet.AbstractParquetDataSource
io.trino.plugin.hive.parquet.TrinoParquetDataSource
- All Implemented Interfaces:
ParquetDataSource,Closeable,AutoCloseable
-
Constructor Summary
ConstructorsConstructorDescriptionTrinoParquetDataSource(TrinoInputFile file, ParquetReaderOptions 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.parquet.AbstractParquetDataSource
getEstimatedSize, getId, getReadBytes, getReadTimeNanos, planChunksRead, planRead, readFully, readTail
-
Constructor Details
-
TrinoParquetDataSource
public TrinoParquetDataSource(TrinoInputFile file, ParquetReaderOptions options, FileFormatDataSourceStats stats) throws IOException - Throws:
IOException
-
-
Method Details
-
close
- Throws:
IOException
-
readTailInternal
- Overrides:
readTailInternalin classAbstractParquetDataSource- Throws:
IOException
-
readInternal
protected void readInternal(long position, byte[] buffer, int bufferOffset, int bufferLength) throws IOException - Specified by:
readInternalin classAbstractParquetDataSource- Throws:
IOException
-