Package io.trino.execution.scheduler
Class NetworkLocation
java.lang.Object
io.trino.execution.scheduler.NetworkLocation
Represents a location in the network topology. Locations are assumed to be hierarchical
and all worker nodes and split locations should be at the same level of the hierarchy.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionNetworkLocation(String... segments) NetworkLocation(Collection<String> segments) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()subLocation(int start, int end) toString()
-
Field Details
-
ROOT_LOCATION
-
-
Constructor Details
-
NetworkLocation
-
NetworkLocation
-
-
Method Details
-
subLocation
-
getSegments
-
equals
-
hashCode
-
toString
-