Uses of Class
org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetExpression
Packages that use PlacementConstraint.TargetExpression
-
Uses of PlacementConstraint.TargetExpression in org.apache.hadoop.yarn.api.resource
Methods in org.apache.hadoop.yarn.api.resource that return PlacementConstraint.TargetExpressionModifier and TypeMethodDescriptionPlacementConstraints.PlacementTargets.allocationTag(String... allocationTags) Constructs a target expression on an allocation tag.PlacementConstraints.PlacementTargets.allocationTagWithNamespace(String namespace, String... allocationTags) Constructs a target expression on a set of allocation tags under a certain namespace.PlacementConstraints.PlacementTargets.nodeAttribute(String attributeKey, String... attributeValues) Constructs a target expression on a node attribute.PlacementConstraints.PlacementTargets.nodePartition(String... nodePartitions) Constructs a target expression on a node partition.Methods in org.apache.hadoop.yarn.api.resource that return types with arguments of type PlacementConstraint.TargetExpressionModifier and TypeMethodDescriptionPlacementConstraint.SingleConstraint.getTargetExpressions()Get the target expressions of the constraint.PlacementConstraint.TargetConstraint.getTargetExpressions()Get the set of target expressions.Methods in org.apache.hadoop.yarn.api.resource with parameters of type PlacementConstraint.TargetExpressionModifier and TypeMethodDescriptionPlacementConstraints.targetCardinality(String scope, int minCardinality, int maxCardinality, PlacementConstraint.TargetExpression... targetExpressions) This constraint generalizes the cardinality and target constraints.PlacementConstraints.targetIn(String scope, PlacementConstraint.TargetExpression... targetExpressions) Creates a constraint that requires allocations to be placed on nodes that satisfy all target expressions within the given scope (e.g., node or rack).PlacementConstraints.targetNodeAttribute(String scope, NodeAttributeOpCode opCode, PlacementConstraint.TargetExpression... targetExpressions) Creates a constraint that requires allocations to be placed on nodes that belong to a scope (e.g., node or rack) that satisfy any of the target expressions based on node attribute op code.PlacementConstraints.targetNotIn(String scope, PlacementConstraint.TargetExpression... targetExpressions) Creates a constraint that requires allocations to be placed on nodes that belong to a scope (e.g., node or rack) that does not satisfy any of the target expressions.PlacementConstraint.Visitor.visit(PlacementConstraint.TargetExpression target) Constructors in org.apache.hadoop.yarn.api.resource with parameters of type PlacementConstraint.TargetExpressionModifierConstructorDescriptionSingleConstraint(String scope, int minC, int maxC, NodeAttributeOpCode opCode, PlacementConstraint.TargetExpression... targetExpressions) SingleConstraint(String scope, int minC, int maxC, PlacementConstraint.TargetExpression... targetExpressions) Constructor parameters in org.apache.hadoop.yarn.api.resource with type arguments of type PlacementConstraint.TargetExpressionModifierConstructorDescriptionSingleConstraint(String scope, int minCardinality, int maxCardinality, Set<PlacementConstraint.TargetExpression> targetExpressions) SingleConstraint(String scope, int minCardinality, int maxCardinality, NodeAttributeOpCode opCode, Set<PlacementConstraint.TargetExpression> targetExpressions) TargetConstraint(org.apache.hadoop.yarn.api.resource.PlacementConstraint.TargetConstraint.TargetOperator op, String scope, Set<PlacementConstraint.TargetExpression> targetExpressions)