public class PageFilePageSource extends Object implements com.facebook.presto.spi.ConnectorPageSource
| Constructor and Description |
|---|
PageFilePageSource(org.apache.hadoop.fs.FSDataInputStream inputStream,
long start,
long splitLength,
long fileSize,
com.facebook.presto.common.block.BlockEncodingSerde blockEncodingSerde,
List<HiveColumnHandle> columns) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
long |
getCompletedBytes() |
long |
getCompletedPositions() |
com.facebook.presto.common.Page |
getNextPage() |
long |
getReadTimeNanos() |
long |
getSystemMemoryUsage() |
boolean |
isFinished() |
public PageFilePageSource(org.apache.hadoop.fs.FSDataInputStream inputStream,
long start,
long splitLength,
long fileSize,
com.facebook.presto.common.block.BlockEncodingSerde blockEncodingSerde,
List<HiveColumnHandle> columns)
throws IOException
IOExceptionpublic long getCompletedBytes()
getCompletedBytes in interface com.facebook.presto.spi.ConnectorPageSourcepublic long getCompletedPositions()
getCompletedPositions in interface com.facebook.presto.spi.ConnectorPageSourcepublic long getReadTimeNanos()
getReadTimeNanos in interface com.facebook.presto.spi.ConnectorPageSourcepublic boolean isFinished()
isFinished in interface com.facebook.presto.spi.ConnectorPageSourcepublic com.facebook.presto.common.Page getNextPage()
getNextPage in interface com.facebook.presto.spi.ConnectorPageSourcepublic long getSystemMemoryUsage()
getSystemMemoryUsage in interface com.facebook.presto.spi.ConnectorPageSourcepublic void close()
throws IOException
close in interface com.facebook.presto.spi.ConnectorPageSourceclose in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2012–2023. All rights reserved.