public class RangeKeyCondition extends Object
new RangeKeyCondition("strAttr").eq("attrValue");
new RangeKeyCondition("intAttr").gt(42);
...
Constructor and Description |
---|
RangeKeyCondition(String attrName)
A condition for selecting items with a range key.
|
Modifier and Type | Method and Description |
---|---|
RangeKeyCondition |
beginsWith(String val)
Creates and returns a condition of the range key with a value that begins
with the given value.
|
RangeKeyCondition |
between(Object low,
Object hi)
Creates and returns a condition of the range key that has a value between
the given values.
|
RangeKeyCondition |
eq(Object val)
Creates and returns a condition of the range key being equal to the given
value.
|
RangeKeyCondition |
ge(Object val)
Creates and returns a condition of the range key being greater than or
equal to the given value.
|
String |
getAttrName() |
KeyConditions |
getKeyCondition() |
Object[] |
getValues() |
RangeKeyCondition |
gt(Object val)
Creates and returns a condition of the range key being greater than the
given value.
|
RangeKeyCondition |
le(Object val)
Creates and returns a condition of the range key being less than or equal
to the given value.
|
RangeKeyCondition |
lt(Object val)
Creates and returns a condition of the range key being less than the
given value.
|
public RangeKeyCondition(String attrName)
new RangeKeyCondition("strAttr").eq("attrValue");
new RangeKeyCondition("intAttr").gt(42);
...
public String getAttrName()
public KeyConditions getKeyCondition()
public Object[] getValues()
public RangeKeyCondition eq(Object val)
public RangeKeyCondition beginsWith(String val)
public RangeKeyCondition between(Object low, Object hi)
public RangeKeyCondition ge(Object val)
public RangeKeyCondition gt(Object val)
public RangeKeyCondition le(Object val)
public RangeKeyCondition lt(Object val)
Copyright © 2022. All rights reserved.