Package org.apache.hadoop.yarn.api.resource
@Private
package org.apache.hadoop.yarn.api.resource
API related to resources.
-
ClassesClassDescriptionThis class contains inner classes that define transformation on a
PlacementConstraintexpression.The default implementation of thePlacementConstraint.Visitorthat does a traversal of the constraint tree, performing no action for the lead constraints.Visits aPlacementConstrainttree and substitutes eachPlacementConstraint.TargetConstraintandPlacementConstraint.CardinalityConstraintwith an equivalentPlacementConstraint.SingleConstraint.Visits aPlacementConstrainttree and, whenever possible, substitutes eachPlacementConstraint.SingleConstraintwith aPlacementConstraint.TargetConstraint.