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

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

# Class PlacementConstraintParser.TargetConstraintParser

java.lang.Object
org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser.ConstraintParser
org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser.TargetConstraintParser

Enclosing class:
  PlacementConstraintParser

public static class PlacementConstraintParser.TargetConstraintParser extends PlacementConstraintParser.ConstraintParser
Constraint parser used to parse a given target expression, such as "NOTIN, NODE, foo, bar".

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TargetConstraintParser(String expression)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PlacementConstraint.AbstractConstraint`
  `parse()`

  ### Methods inherited from class org.apache.hadoop.yarn.util.constraint.PlacementConstraintParser.ConstraintParser

  `tryParse`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TargetConstraintParser

    public TargetConstraintParser(String expression)

- ## Method Details

  - ### parse

    public PlacementConstraint.AbstractConstraint parse() throws PlacementConstraintParseException
    Specified by:
      `parse` in class `PlacementConstraintParser.ConstraintParser`
    Throws:
      `PlacementConstraintParseException`