Package io.trino.plugin.deltalake
Class DeltaLakeSplit
- java.lang.Object
-
- io.trino.plugin.deltalake.DeltaLakeSplit
-
- All Implemented Interfaces:
ConnectorSplit
public class DeltaLakeSplit extends Object implements ConnectorSplit
-
-
Constructor Summary
Constructors Constructor Description DeltaLakeSplit(String path, long start, long length, long fileSize, long fileModifiedTime, List<HostAddress> addresses, TupleDomain<DeltaLakeColumnHandle> statisticsPredicate, Map<String,Optional<String>> partitionKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<HostAddress>getAddresses()longgetFileModifiedTime()longgetFileSize()ObjectgetInfo()longgetLength()Map<String,Optional<String>>getPartitionKeys()StringgetPath()longgetRetainedSizeInBytes()longgetStart()TupleDomain<DeltaLakeColumnHandle>getStatisticsPredicate()A TupleDomain representing the min/max statistics from the file this split was generated from.inthashCode()booleanisRemotelyAccessible()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.trino.spi.connector.ConnectorSplit
getSplitWeight
-
-
-
-
Constructor Detail
-
DeltaLakeSplit
public DeltaLakeSplit(String path, long start, long length, long fileSize, long fileModifiedTime, List<HostAddress> addresses, TupleDomain<DeltaLakeColumnHandle> statisticsPredicate, Map<String,Optional<String>> partitionKeys)
-
-
Method Detail
-
isRemotelyAccessible
public boolean isRemotelyAccessible()
- Specified by:
isRemotelyAccessiblein interfaceConnectorSplit
-
getAddresses
public List<HostAddress> getAddresses()
- Specified by:
getAddressesin interfaceConnectorSplit
-
getPath
public String getPath()
-
getStart
public long getStart()
-
getLength
public long getLength()
-
getFileSize
public long getFileSize()
-
getFileModifiedTime
public long getFileModifiedTime()
-
getStatisticsPredicate
public TupleDomain<DeltaLakeColumnHandle> getStatisticsPredicate()
A TupleDomain representing the min/max statistics from the file this split was generated from. This does not contain any partitioning information.
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()
- Specified by:
getRetainedSizeInBytesin interfaceConnectorSplit
-
getInfo
public Object getInfo()
- Specified by:
getInfoin interfaceConnectorSplit
-
-