Package io.trino.parquet
Interface ParquetDataSource
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
AbstractParquetDataSource
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()longgetId()longlong<K> Map<K,ChunkedInputStream> planRead(com.google.common.collect.ListMultimap<K, DiskRange> diskRanges, AggregatedMemoryContext memoryContext) io.airlift.slice.SlicereadFully(long position, int length) io.airlift.slice.SlicereadTail(int length)
-
Method Details
-
getId
ParquetDataSourceId getId() -
getReadBytes
long getReadBytes() -
getReadTimeNanos
long getReadTimeNanos() -
getEstimatedSize
long getEstimatedSize() -
readTail
- Throws:
IOException
-
readFully
- Throws:
IOException
-
planRead
<K> Map<K,ChunkedInputStream> planRead(com.google.common.collect.ListMultimap<K, DiskRange> diskRanges, AggregatedMemoryContext memoryContext) -
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-