PlacementConstraint.AbstractConstraint (Apache Hadoop YARN API 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.api.resource, class: PlacementConstraint, class: AbstractConstraint

Package org.apache.hadoop.yarn.api.resource

# Class PlacementConstraint.AbstractConstraint

java.lang.Object
org.apache.hadoop.yarn.api.resource.PlacementConstraint.AbstractConstraint

All Implemented Interfaces:
  `PlacementConstraint.Visitable`

Direct Known Subclasses:
  `PlacementConstraint.CardinalityConstraint`, `PlacementConstraint.CompositeConstraint`, `PlacementConstraint.SingleConstraint`, `PlacementConstraint.TargetConstraint`

Enclosing class:
  PlacementConstraint

public abstract static class PlacementConstraint.AbstractConstraint extends Object implements PlacementConstraint.Visitable
Abstract class that acts as the superclass of all placement constraint classes.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AbstractConstraint()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `PlacementConstraint`
  `build()`
  `String`
  `toString()`

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

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

  ### Methods inherited from interface org.apache.hadoop.yarn.api.resource.PlacementConstraint.Visitable

  `accept`

- ## Constructor Details

  - ### AbstractConstraint

    public AbstractConstraint()

- ## Method Details

  - ### build

    public PlacementConstraint build()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`