Package io.trino.spi.connector
Interface ConnectorSplit
public interface ConnectorSplit
-
Method Summary
Modifier and TypeMethodDescriptiongetInfo()default longdefault SplitWeightbooleanReturns true when this ConnectorSplit can be scheduled on any node.
-
Method Details
-
isRemotelyAccessible
boolean isRemotelyAccessible()Returns true when this ConnectorSplit can be scheduled on any node.When true, the addresses returned by
getAddresses()may be used as hints by the scheduler during splits assignment. When false, the split will always be scheduled on one of the addresses returned bygetAddresses(). -
getAddresses
List<HostAddress> getAddresses() -
getInfo
Object getInfo() -
getSplitWeight
-
getRetainedSizeInBytes
default long getRetainedSizeInBytes()
-