@Beta @Immutable public class PathOperand extends Operand
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.
ExpressionSpecBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Returns true if the given object is a path operand with the same path as
that of the current path operand; false otherwise.
|
FunctionCondition |
exists()
Returns a function condition (that evaluates to true if the attribute referred
to by this path operand exists) for building condition expression.
|
int |
hashCode() |
FunctionCondition |
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.
|
RemoveAction |
remove()
Returns a
RemoveAction for removing the attribute referred
to by this path operand from an item; used for building update
expression. |
String |
toString() |
public final FunctionCondition exists()
public final FunctionCondition notExists()
public final RemoveAction remove()
RemoveAction
for removing the attribute referred
to by this path operand from an item; used for building update
expression.Copyright © 2022. All rights reserved.