Package io.trino.plugin.memory
Class MemorySplit
java.lang.Object
io.trino.plugin.memory.MemorySplit
- All Implemented Interfaces:
ConnectorSplit
-
Constructor Summary
ConstructorsConstructorDescriptionMemorySplit(long table, int partNumber, int totalPartsPerWorker, HostAddress address, long expectedRows, OptionalLong limit) -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.trino.spi.connector.ConnectorSplit
getSplitWeight
-
Constructor Details
-
MemorySplit
public MemorySplit(long table, int partNumber, int totalPartsPerWorker, HostAddress address, long expectedRows, OptionalLong limit)
-
-
Method Details
-
getTable
public long getTable() -
getTotalPartsPerWorker
public int getTotalPartsPerWorker() -
getPartNumber
public int getPartNumber() -
getInfo
- Specified by:
getInfoin interfaceConnectorSplit
-
getRetainedSizeInBytes
public long getRetainedSizeInBytes()- Specified by:
getRetainedSizeInBytesin interfaceConnectorSplit
-
isRemotelyAccessible
public boolean isRemotelyAccessible()- Specified by:
isRemotelyAccessiblein interfaceConnectorSplit
-
getAddress
-
getAddresses
- Specified by:
getAddressesin interfaceConnectorSplit
-
getExpectedRows
public long getExpectedRows() -
getLimit
-
equals
-
hashCode
public int hashCode() -
toString
-