Class PathOperand
java.lang.Object
com.amazonaws.services.dynamodbv2.xspec.Operand
com.amazonaws.services.dynamodbv2.xspec.PathOperand
A path operand used in building DynamooDB expressions such as update
expressions and condition (aka filter) expressions. In general, a path
operand refers to an attribute of some specific type in DynamoDB.
Use ExpressionSpecBuilder.S(String),
ExpressionSpecBuilder.N(String), etc. to instantiate path operands to
refer to attributes of specific data types. You can also use
ExpressionSpecBuilder.attribute(String) to instantiate a path operand
with an unspecified data type.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionfinal booleanReturns true if the given object is a path operand with the same path as that of the current path operand; false otherwise.final FunctionConditionexists()Returns a function condition (that evaluates to true if the attribute referred to by this path operand exists) for building condition expression.final inthashCode()final FunctionConditionReturns a function condition (that evaluates to true if the attribute referred to by this path operand does not exist) for building condition expression.final RemoveActionremove()Returns aRemoveActionfor removing the attribute referred to by this path operand from an item; used for building update expression.final StringtoString()
-
Method Details
-
exists
Returns a function condition (that evaluates to true if the attribute referred to by this path operand exists) for building condition expression. -
notExists
Returns a function condition (that evaluates to true if the attribute referred to by this path operand does not exist) for building condition expression. -
remove
Returns aRemoveActionfor removing the attribute referred to by this path operand from an item; used for building update expression. -
toString
-
hashCode
-
equals
-