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.
-
ClassDescriptionException when the placement constraint parser fails to parse an expression.Placement constraint expression parser.A basic tokenizer that splits an expression by a given delimiter.Constraint parser used to parse a given target expression, such as "cardinality, NODE, foo, 0, 1".Parser used to parse conjunction form of constraints, such as AND(A, ..., B), OR(A, ..., B).Tokenizer used to parse conjunction form of a constraint expression, [AND|OR](C1:C2:...Constraint Parser used to parse placement constraints from a given expression.Tokenizer interface that used to parse an expression.Tokenizer used to handle a placement spec composed by multiple constraint expressions.Constraint parser used to parse a given target expression.A helper class to encapsulate source tags and allocations in the placement specification.Tokenizer used to parse allocation tags expression, which should be in tag(numOfAllocations) syntax.Constraint parser used to parse a given target expression, such as "NOTIN, NODE, foo, bar".