PlacementConstraintFromProtoConverter (Apache Hadoop YARN Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.yarn.api.pb, class: PlacementConstraintFromProtoConverter

Package org.apache.hadoop.yarn.api.pb

# Class PlacementConstraintFromProtoConverter

java.lang.Object
org.apache.hadoop.yarn.api.pb.PlacementConstraintFromProtoConverter

@Private public class PlacementConstraintFromProtoConverter extends Object
`PlacementConstraintFromProtoConverter` generates an `PlacementConstraint.AbstractConstraint` given a `YarnProtos.PlacementConstraintProto`.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PlacementConstraintFromProtoConverter(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintProto constraintProto)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `org.apache.hadoop.yarn.api.resource.PlacementConstraint`
  `convert()`

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

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

- ## Constructor Details

  - ### PlacementConstraintFromProtoConverter

    public PlacementConstraintFromProtoConverter(org.apache.hadoop.yarn.proto.YarnProtos.PlacementConstraintProto constraintProto)

- ## Method Details

  - ### convert

    public org.apache.hadoop.yarn.api.resource.PlacementConstraint convert()