Package io.trino.plugin.deltalake
Class DeltaLakePageSource
- java.lang.Object
-
- io.trino.plugin.deltalake.DeltaLakePageSource
-
- All Implemented Interfaces:
ConnectorPageSource,Closeable,AutoCloseable
public class DeltaLakePageSource extends Object implements ConnectorPageSource
-
-
Field Summary
-
Fields inherited from interface io.trino.spi.connector.ConnectorPageSource
NOT_BLOCKED
-
-
Constructor Summary
Constructors Constructor Description DeltaLakePageSource(List<DeltaLakeColumnHandle> columns, Map<String,Optional<String>> partitionKeys, ConnectorPageSource delegate, String path, long fileSize, long fileModifiedTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()protected voidcloseWithSuppression(Throwable throwable)longgetCompletedBytes()OptionalLonggetCompletedPositions()longgetMemoryUsage()PagegetNextPage()longgetReadTimeNanos()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
getMetrics, isBlocked
-
-
-
-
Constructor Detail
-
DeltaLakePageSource
public DeltaLakePageSource(List<DeltaLakeColumnHandle> columns, Map<String,Optional<String>> partitionKeys, ConnectorPageSource delegate, String path, long fileSize, long fileModifiedTime)
-
-
Method Detail
-
getCompletedBytes
public long getCompletedBytes()
- Specified by:
getCompletedBytesin interfaceConnectorPageSource
-
getCompletedPositions
public OptionalLong getCompletedPositions()
- Specified by:
getCompletedPositionsin 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
-
getMemoryUsage
public long getMemoryUsage()
- Specified by:
getMemoryUsagein interfaceConnectorPageSource
-
closeWithSuppression
protected void closeWithSuppression(Throwable throwable)
-
-