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 boolean
Returns true if the given object is a path operand with the same path as that of the current path operand; false otherwise.final FunctionCondition
exists()
Returns a function condition (that evaluates to true if the attribute referred to by this path operand exists) for building condition expression.final int
hashCode()
final FunctionCondition
Returns a function condition (that evaluates to true if the attribute referred to by this path operand does not exist) for building condition expression.final RemoveAction
remove()
Returns aRemoveAction
for removing the attribute referred to by this path operand from an item; used for building update expression.final String
toString()
-
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 aRemoveAction
for removing the attribute referred to by this path operand from an item; used for building update expression. -
toString
-
hashCode
public final int hashCode() -
equals
Returns true if the given object is a path operand with the same path as that of the current path operand; false otherwise.
-