Package io.trino.execution.scheduler
Class TopologyAwareNodeSelectorConfig
- java.lang.Object
-
- io.trino.execution.scheduler.TopologyAwareNodeSelectorConfig
-
public class TopologyAwareNodeSelectorConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTopologyAwareNodeSelectorConfig.TopologyType
-
Constructor Summary
Constructors Constructor Description TopologyAwareNodeSelectorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<String>getLocationSegmentNames()@NotNull TopologyAwareNodeSelectorConfig.TopologyTypegetType()TopologyAwareNodeSelectorConfigsetLocationSegmentNames(String locationSegmentNames)TopologyAwareNodeSelectorConfigsetLocationSegmentNames(List<String> locationSegmentNames)TopologyAwareNodeSelectorConfigsetType(TopologyAwareNodeSelectorConfig.TopologyType type)
-
-
-
Method Detail
-
getType
@NotNull public @NotNull TopologyAwareNodeSelectorConfig.TopologyType getType()
-
setType
@Config("node-scheduler.network-topology.type") public TopologyAwareNodeSelectorConfig setType(TopologyAwareNodeSelectorConfig.TopologyType type)
-
setLocationSegmentNames
public TopologyAwareNodeSelectorConfig setLocationSegmentNames(List<String> locationSegmentNames)
-
setLocationSegmentNames
@Config("node-scheduler.network-topology.segments") public TopologyAwareNodeSelectorConfig setLocationSegmentNames(String locationSegmentNames)
-
-