Class Expected
java.lang.Object
com.amazonaws.services.dynamodbv2.document.Expected
Represents a condition to be compared with an attribute value.
Typical usages:
new Expected("strAttr").eq("attrValue");
new Expected("intAttr").gt(42);
...
See http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/ API_ExpectedAttributeValue.html.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbeginsWith
(String val) Creates and returns a condition of the range key with a value that begins with the given value.Creates and returns a condition of the range key that has a value between the given values.Creates and returns a condition of the range key being equal to the given value.exists()
Expects the attribute be an existing attribute.Creates and returns a condition of the range key being greater than or equal to the given value.Returns the attribute.Object[]
Creates and returns a condition of the range key being greater than the given value.Creates and returns a condition of the range key being less than or equal to the given value.Creates and returns a condition of the range key being less than the given value.notContains
(Object val) notExist()
Expects the attribute be non-existing.
-
Constructor Details
-
Expected
-
-
Method Details
-
getAttribute
Returns the attribute. -
getComparisonOperator
-
getValues
-
eq
Creates and returns a condition of the range key being equal to the given value. -
ne
-
exists
Expects the attribute be an existing attribute. -
notExist
Expects the attribute be non-existing. -
contains
-
notContains
-
beginsWith
Creates and returns a condition of the range key with a value that begins with the given value. -
in
-
between
Creates and returns a condition of the range key that has a value between the given values. -
ge
Creates and returns a condition of the range key being greater than or equal to the given value. -
gt
Creates and returns a condition of the range key being greater than the given value. -
le
Creates and returns a condition of the range key being less than or equal to the given value. -
lt
Creates and returns a condition of the range key being less than the given value.
-