org.apache.hadoop.yarn.util.constraint (Apache Hadoop YARN API 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.util.constraint

# Package org.apache.hadoop.yarn.util.constraint

package org.apache.hadoop.yarn.util.constraint
Package org.apache.hadoop.yarn.util.constraint contains classes which is used as utility class for placement constraints.

- Related Packages
  Package
  Description
  org.apache.hadoop.yarn.util
  org.apache.hadoop.yarn.util.csi
  Package that includes some CSI utility classes.
  org.apache.hadoop.yarn.util.resource
  Package org.apache.hadoop.yarn.util.resource contains classes which is used as utility class for resource profile computations.
- Class
  Description
  PlacementConstraintParseException
  Exception when the placement constraint parser fails to parse an expression.
  PlacementConstraintParser
  Placement constraint expression parser.
  PlacementConstraintParser.BaseStringTokenizer
  A basic tokenizer that splits an expression by a given delimiter.
  PlacementConstraintParser.CardinalityConstraintParser
  Constraint parser used to parse a given target expression, such as "cardinality, NODE, foo, 0, 1".
  PlacementConstraintParser.ConjunctionConstraintParser
  Parser used to parse conjunction form of constraints, such as AND(A, ..., B), OR(A, ..., B).
  PlacementConstraintParser.ConjunctionTokenizer
  Tokenizer used to parse conjunction form of a constraint expression, [AND|OR](C1:C2:...
  PlacementConstraintParser.ConstraintParser
  Constraint Parser used to parse placement constraints from a given expression.
  PlacementConstraintParser.ConstraintTokenizer
  Tokenizer interface that used to parse an expression.
  PlacementConstraintParser.MultipleConstraintsTokenizer
  Tokenizer used to handle a placement spec composed by multiple constraint expressions.
  PlacementConstraintParser.NodeConstraintParser
  Constraint parser used to parse a given target expression.
  PlacementConstraintParser.SourceTags
  A helper class to encapsulate source tags and allocations in the placement specification.
  PlacementConstraintParser.SourceTagsTokenizer
  Tokenizer used to parse allocation tags expression, which should be in tag(numOfAllocations) syntax.
  PlacementConstraintParser.TargetConstraintParser
  Constraint parser used to parse a given target expression, such as "NOTIN, NODE, foo, bar".