|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.Condition
public class Condition
Condition
Constructor Summary | |
---|---|
Condition()
Default constructor for a new Condition object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
List<AttributeValue> |
getAttributeValueList()
A list of attribute values to be used with a comparison operator for a scan or query operation. |
String |
getComparisonOperator()
A comparison operator is an enumeration of several operations: EQ for equal. NE for
not equal. IN checks for exact
matches. LE for less than or equal
to. LT for less than.
GE for greater than or equal to.
GT for greater than.
BETWEEN for between.
NOT_NULL for exists.
NULL for not exists.
CONTAINS for substring or value in a set.
NOT_CONTAINS for absence of a substring or absence of
a value in a set. BEGINS_WITH for a substring
prefix. |
int |
hashCode()
|
void |
setAttributeValueList(Collection<AttributeValue> attributeValueList)
A list of attribute values to be used with a comparison operator for a scan or query operation. |
void |
setComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator is an enumeration of several operations: EQ for equal. NE for
not equal. IN checks for exact
matches. LE for less than or equal
to. LT for less than.
GE for greater than or equal to.
GT for greater than.
BETWEEN for between.
NOT_NULL for exists.
NULL for not exists.
CONTAINS for substring or value in a set.
NOT_CONTAINS for absence of a substring or absence of
a value in a set. BEGINS_WITH for a substring
prefix. |
void |
setComparisonOperator(String comparisonOperator)
A comparison operator is an enumeration of several operations: EQ for equal. NE for
not equal. IN checks for exact
matches. LE for less than or equal
to. LT for less than.
GE for greater than or equal to.
GT for greater than.
BETWEEN for between.
NOT_NULL for exists.
NULL for not exists.
CONTAINS for substring or value in a set.
NOT_CONTAINS for absence of a substring or absence of
a value in a set. BEGINS_WITH for a substring
prefix. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Condition |
withAttributeValueList(AttributeValue... attributeValueList)
A list of attribute values to be used with a comparison operator for a scan or query operation. |
Condition |
withAttributeValueList(Collection<AttributeValue> attributeValueList)
A list of attribute values to be used with a comparison operator for a scan or query operation. |
Condition |
withComparisonOperator(ComparisonOperator comparisonOperator)
A comparison operator is an enumeration of several operations: EQ for equal. NE for
not equal. IN checks for exact
matches. LE for less than or equal
to. LT for less than.
GE for greater than or equal to.
GT for greater than.
BETWEEN for between.
NOT_NULL for exists.
NULL for not exists.
CONTAINS for substring or value in a set.
NOT_CONTAINS for absence of a substring or absence of
a value in a set. BEGINS_WITH for a substring
prefix. |
Condition |
withComparisonOperator(String comparisonOperator)
A comparison operator is an enumeration of several operations: EQ for equal. NE for
not equal. IN checks for exact
matches. LE for less than or equal
to. LT for less than.
GE for greater than or equal to.
GT for greater than.
BETWEEN for between.
NOT_NULL for exists.
NULL for not exists.
CONTAINS for substring or value in a set.
NOT_CONTAINS for absence of a substring or absence of
a value in a set. BEGINS_WITH for a substring
prefix. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Condition()
Method Detail |
---|
public List<AttributeValue> getAttributeValueList()
BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.
BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.public void setAttributeValueList(Collection<AttributeValue> attributeValueList)
BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.
attributeValueList
- A list of attribute values to be used with a comparison operator for a
scan or query operation. For comparisons that require more than one
value, such as a BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.public Condition withAttributeValueList(AttributeValue... attributeValueList)
BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.
Returns a reference to this object so that method calls can be chained together.
attributeValueList
- A list of attribute values to be used with a comparison operator for a
scan or query operation. For comparisons that require more than one
value, such as a BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.
public Condition withAttributeValueList(Collection<AttributeValue> attributeValueList)
BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.
Returns a reference to this object so that method calls can be chained together.
attributeValueList
- A list of attribute values to be used with a comparison operator for a
scan or query operation. For comparisons that require more than one
value, such as a BETWEEN
comparison, the
AttributeValueList contains two attribute values and the comparison
operator.
public String getComparisonOperator()
EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
Constraints:
Allowed Values: EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
ComparisonOperator
public void setComparisonOperator(String comparisonOperator)
EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
Constraints:
Allowed Values: EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
comparisonOperator
- A comparison operator is an enumeration of several operations: EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
ComparisonOperator
public Condition withComparisonOperator(String comparisonOperator)
EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
comparisonOperator
- A comparison operator is an enumeration of several operations: EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
ComparisonOperator
public void setComparisonOperator(ComparisonOperator comparisonOperator)
EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
Constraints:
Allowed Values: EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
comparisonOperator
- A comparison operator is an enumeration of several operations: EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
ComparisonOperator
public Condition withComparisonOperator(ComparisonOperator comparisonOperator)
EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: EQ, NE, IN, LE, LT, GE, GT, BETWEEN, NOT_NULL, NULL, CONTAINS, NOT_CONTAINS, BEGINS_WITH
comparisonOperator
- A comparison operator is an enumeration of several operations: EQ
for equal.NE
for
not equal.IN
checks for exact
matches.LE
for less than or equal
to.LT
for less than.GE
for greater than or equal to.GT
for greater than.BETWEEN
for between.NOT_NULL
for exists.NULL
for not exists.CONTAINS
for substring or value in a set.NOT_CONTAINS
for absence of a substring or absence of
a value in a set.BEGINS_WITH
for a substring
prefix.Scan operations support all available comparison operators.
Query operations support a subset of the available comparison operators: EQ, LE, LT, GE, GT, BETWEEN, and BEGINS_WITH.
ComparisonOperator
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |