Package io.trino.plugin.hive.orc
Class OrcDeleteDeltaPageSource
- java.lang.Object
-
- io.trino.plugin.hive.orc.OrcDeleteDeltaPageSource
-
- All Implemented Interfaces:
ConnectorPageSource,Closeable,AutoCloseable
public class OrcDeleteDeltaPageSource extends Object implements ConnectorPageSource
-
-
Field Summary
-
Fields inherited from interface io.trino.spi.connector.ConnectorPageSource
NOT_BLOCKED
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static Optional<ConnectorPageSource>createOrcDeleteDeltaPageSource(org.apache.hadoop.fs.Path path, long fileSize, OrcReaderOptions options, ConnectorIdentity identity, org.apache.hadoop.conf.Configuration configuration, HdfsEnvironment hdfsEnvironment, FileFormatDataSourceStats stats)longgetCompletedBytes()PagegetNextPage()longgetReadTimeNanos()longgetSystemMemoryUsage()booleanisFinished()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.trino.spi.connector.ConnectorPageSource
getCompletedPositions, getMetrics, isBlocked
-
-
-
-
Method Detail
-
createOrcDeleteDeltaPageSource
public static Optional<ConnectorPageSource> createOrcDeleteDeltaPageSource(org.apache.hadoop.fs.Path path, long fileSize, OrcReaderOptions options, ConnectorIdentity identity, org.apache.hadoop.conf.Configuration configuration, HdfsEnvironment hdfsEnvironment, FileFormatDataSourceStats stats)
-
getCompletedBytes
public long getCompletedBytes()
- Specified by:
getCompletedBytesin interfaceConnectorPageSource
-
getReadTimeNanos
public long getReadTimeNanos()
- Specified by:
getReadTimeNanosin interfaceConnectorPageSource
-
isFinished
public boolean isFinished()
- Specified by:
isFinishedin interfaceConnectorPageSource
-
getNextPage
public Page getNextPage()
- Specified by:
getNextPagein interfaceConnectorPageSource
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceConnectorPageSource
-
getSystemMemoryUsage
public long getSystemMemoryUsage()
- Specified by:
getSystemMemoryUsagein interfaceConnectorPageSource
-
-