Uses of Enum Class org.apache.hadoop.yarn.api.records.NodeAttributeOpCode (Apache Hadoop YARN API 3.5.0 API)
Description: use: package: org.apache.hadoop.yarn.api.records, enum: NodeAttributeOpCode

# Uses of Enum Class
org.apache.hadoop.yarn.api.records.NodeAttributeOpCode

Packages that use NodeAttributeOpCode
Package
Description
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.

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

  Methods in org.apache.hadoop.yarn.api.records that return NodeAttributeOpCode
  Modifier and Type
  Method
  Description
  `static NodeAttributeOpCode`
  NodeAttributeOpCode.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static NodeAttributeOpCode[]`
  NodeAttributeOpCode.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.

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

  Methods in org.apache.hadoop.yarn.api.resource that return NodeAttributeOpCode
  Modifier and Type
  Method
  Description
  `NodeAttributeOpCode`
  PlacementConstraint.SingleConstraint.`getNodeAttributeOpCode()`
  Get the NodeAttributeOpCode of the constraint.
  Methods in org.apache.hadoop.yarn.api.resource with parameters of type NodeAttributeOpCode
  Modifier and Type
  Method
  Description
  `static PlacementConstraint.AbstractConstraint`
  PlacementConstraints.`targetNodeAttribute(String scope, NodeAttributeOpCode opCode, PlacementConstraint.TargetExpression... targetExpressions)`
  Creates a constraint that requires allocations to be placed on nodes that belong to a scope (e.g., node or rack) that satisfy any of the target expressions based on node attribute op code.
  Constructors in org.apache.hadoop.yarn.api.resource with parameters of type NodeAttributeOpCode
  Modifier
  Constructor
  Description
  ``
  `SingleConstraint(String scope, int minCardinality, int maxCardinality, NodeAttributeOpCode opCode, Set<PlacementConstraint.TargetExpression> targetExpressions)`
  ``
  `SingleConstraint(String scope, int minC, int maxC, NodeAttributeOpCode opCode, PlacementConstraint.TargetExpression... targetExpressions)`