Class Condition
- java.lang.Object
-
- com.amazonaws.services.dynamodbv2.xspec.Condition
-
- Direct Known Subclasses:
AndCondition
,BetweenCondition
,ComparatorCondition
,FunctionCondition
,InCondition
,NegationCondition
,OrCondition
,ParenthesizedCondition
@Beta public abstract class Condition extends Object
Represents a condition for building condition expression.
-
-
Constructor Summary
Constructors Constructor Description Condition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AndCondition
and(Condition that)
Returns a new condition based on the conjunction of the current condition and the given condition.NegationCondition
negate()
Returns a new condition based on the negation of the current condition.OrCondition
or(Condition that)
Returns a new condition based on the disjunction of the current condition and the given condition.
-
-
-
Method Detail
-
negate
public final NegationCondition negate()
Returns a new condition based on the negation of the current condition.
-
and
public AndCondition and(Condition that)
Returns a new condition based on the conjunction of the current condition and the given condition.- Parameters:
that
- given condition.
-
or
public OrCondition or(Condition that)
Returns a new condition based on the disjunction of the current condition and the given condition.- Parameters:
that
- given condition.
-
-