Uses of Class org.apache.hadoop.yarn.api.resource.PlacementConstraint (Apache Hadoop YARN API 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.resource, class: PlacementConstraint

# Uses of Class
org.apache.hadoop.yarn.api.resource.PlacementConstraint

Packages that use PlacementConstraint
Package
Description
org.apache.hadoop.yarn.api.protocolrecords
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.api.records
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
org.apache.hadoop.yarn.api.resource
API related to resources.
org.apache.hadoop.yarn.util.constraint
Package org.apache.hadoop.yarn.util.constraint contains classes which is used as utility class for placement constraints.

- ## Uses of PlacementConstraint in org.apache.hadoop.yarn.api.protocolrecords

  Methods in org.apache.hadoop.yarn.api.protocolrecords that return types with arguments of type PlacementConstraint
  Modifier and Type
  Method
  Description
  `Map<Set<String>,PlacementConstraint>`
  RegisterApplicationMasterRequest.`getPlacementConstraints()`
  Return all Placement Constraints specified at the Application level.
  Method parameters in org.apache.hadoop.yarn.api.protocolrecords with type arguments of type PlacementConstraint
  Modifier and Type
  Method
  Description
  `void`
  RegisterApplicationMasterRequest.`setPlacementConstraints(Map<Set<String>,PlacementConstraint> placementConstraints)`
  Set Placement Constraints applicable to the `SchedulingRequest`s of this application.

- ## Uses of PlacementConstraint in org.apache.hadoop.yarn.api.records

  Methods in org.apache.hadoop.yarn.api.records that return PlacementConstraint
  Modifier and Type
  Method
  Description
  `abstract PlacementConstraint`
  SchedulingRequest.`getPlacementConstraint()`
  Methods in org.apache.hadoop.yarn.api.records with parameters of type PlacementConstraint
  Modifier and Type
  Method
  Description
  `static SchedulingRequest`
  SchedulingRequest.`newInstance(long allocationRequestId, Priority priority, ExecutionTypeRequest executionType, Set<String> allocationTags, ResourceSizing resourceSizing, PlacementConstraint placementConstraintExpression)`
  `SchedulingRequest.SchedulingRequestBuilder`
  SchedulingRequest.SchedulingRequestBuilder.`placementConstraintExpression(PlacementConstraint placementConstraintExpression)`
  Set the `placementConstraintExpression` of the request.
  `abstract void`
  SchedulingRequest.`setPlacementConstraint(PlacementConstraint placementConstraint)`

- ## Uses of PlacementConstraint in org.apache.hadoop.yarn.api.resource

  Methods in org.apache.hadoop.yarn.api.resource that return PlacementConstraint
  Modifier and Type
  Method
  Description
  `PlacementConstraint`
  PlacementConstraint.AbstractConstraint.`build()`
  `static PlacementConstraint`
  PlacementConstraints.`build(PlacementConstraint.AbstractConstraint constraintExpr)`
  Creates a `PlacementConstraint` given a constraint expression.

- ## Uses of PlacementConstraint in org.apache.hadoop.yarn.util.constraint

  Methods in org.apache.hadoop.yarn.util.constraint that return types with arguments of type PlacementConstraint
  Modifier and Type
  Method
  Description
  `static Map<PlacementConstraintParser.SourceTags,PlacementConstraint>`
  PlacementConstraintParser.`parsePlacementSpec(String expression)`
  Parses a placement constraint specification.