Class PlacementConstraintTransformations
java.lang.Object
org.apache.hadoop.yarn.api.resource.PlacementConstraintTransformations
This class contains inner classes that define transformation on a
PlacementConstraint expression.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe default implementation of thePlacementConstraint.Visitorthat does a traversal of the constraint tree, performing no action for the lead constraints.static classVisits aPlacementConstrainttree and substitutes eachPlacementConstraint.TargetConstraintandPlacementConstraint.CardinalityConstraintwith an equivalentPlacementConstraint.SingleConstraint.static classVisits aPlacementConstrainttree and, whenever possible, substitutes eachPlacementConstraint.SingleConstraintwith aPlacementConstraint.TargetConstraint. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlacementConstraintTransformations
public PlacementConstraintTransformations()
-