public interface QueryApi
Modifier and Type | Method and Description |
---|---|
ItemCollection<QueryOutcome> |
query(KeyAttribute hashKey)
Retrieves items by the specified hash key.
|
ItemCollection<QueryOutcome> |
query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition)
Retrieves items by the specified hash key and a range key condition.
|
ItemCollection<QueryOutcome> |
query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
QueryFilter... queryFilters)
Retrieves items by the specified hash key, a range key condition
and a list of query filters.
|
ItemCollection<QueryOutcome> |
query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
java.lang.String filterExpression,
java.util.Map<java.lang.String,java.lang.String> nameMap,
java.util.Map<java.lang.String,java.lang.Object> valueMap)
Retrieves items by the specified hash key, a range key condition, and
a filter expression string.
|
ItemCollection<QueryOutcome> |
query(KeyAttribute hashKey,
RangeKeyCondition rangeKeyCondition,
java.lang.String filterExpression,
java.lang.String projectionExpression,
java.util.Map<java.lang.String,java.lang.String> nameMap,
java.util.Map<java.lang.String,java.lang.Object> valueMap)
Retrieves items by the specified hash key, a range key condition,
a filter expression and a projection expression.
|
ItemCollection<QueryOutcome> |
query(QuerySpec spec)
Queries table by specifying all the details.
|
ItemCollection<QueryOutcome> |
query(java.lang.String hashKeyName,
java.lang.Object hashKeyValue)
Retrieves items by the specified hash key.
|
ItemCollection<QueryOutcome> |
query(java.lang.String hashKeyName,
java.lang.Object hashKeyValue,
RangeKeyCondition rangeKeyCondition) |
ItemCollection<QueryOutcome> |
query(java.lang.String hashKeyName,
java.lang.Object hashKeyValue,
RangeKeyCondition rangeKeyCondition,
QueryFilter... queryFilters) |
ItemCollection<QueryOutcome> |
query(java.lang.String hashKeyName,
java.lang.Object hashKeyValue,
RangeKeyCondition rangeKeyCondition,
java.lang.String filterExpression,
java.util.Map<java.lang.String,java.lang.String> nameMap,
java.util.Map<java.lang.String,java.lang.Object> valueMap) |
ItemCollection<QueryOutcome> |
query(java.lang.String hashKeyName,
java.lang.Object hashKeyValue,
RangeKeyCondition rangeKeyCondition,
java.lang.String filterExpression,
java.lang.String projectionExpression,
java.util.Map<java.lang.String,java.lang.String> nameMap,
java.util.Map<java.lang.String,java.lang.Object> valueMap)
Retrieves items by the specified hash key, a range key condition,
a filter expression and a projection expression.
|
ItemCollection<QueryOutcome> query(java.lang.String hashKeyName, java.lang.Object hashKeyValue)
ItemCollection<QueryOutcome> query(KeyAttribute hashKey)
ItemCollection<QueryOutcome> query(KeyAttribute hashKey, RangeKeyCondition rangeKeyCondition)
ItemCollection<QueryOutcome> query(java.lang.String hashKeyName, java.lang.Object hashKeyValue, RangeKeyCondition rangeKeyCondition)
ItemCollection<QueryOutcome> query(KeyAttribute hashKey, RangeKeyCondition rangeKeyCondition, QueryFilter... queryFilters)
ItemCollection<QueryOutcome> query(java.lang.String hashKeyName, java.lang.Object hashKeyValue, RangeKeyCondition rangeKeyCondition, QueryFilter... queryFilters)
ItemCollection<QueryOutcome> query(KeyAttribute hashKey, RangeKeyCondition rangeKeyCondition, java.lang.String filterExpression, java.util.Map<java.lang.String,java.lang.String> nameMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)
filterExpression
- filter expression
example: "(#a > :a) AND (#c > :c OR #e < :e)"nameMap
- actual values for the attribute-name place holders;
can be null if there is no attribute-name placeholder.valueMap
- actual values for the value place holders
can be null if there is no attribute-value placeholder.ItemCollection<QueryOutcome> query(java.lang.String hashKeyName, java.lang.Object hashKeyValue, RangeKeyCondition rangeKeyCondition, java.lang.String filterExpression, java.util.Map<java.lang.String,java.lang.String> nameMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)
ItemCollection<QueryOutcome> query(KeyAttribute hashKey, RangeKeyCondition rangeKeyCondition, java.lang.String filterExpression, java.lang.String projectionExpression, java.util.Map<java.lang.String,java.lang.String> nameMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)
filterExpression
- filter expression
example: "(#a > :a) AND (#c > :c OR #e < :e)"projectionExpression
- projection expression
example: "a.b, c[0].e"nameMap
- actual values for the attribute-name place holders;
can be null if there is no attribute-name placeholder.valueMap
- actual values for the value place holders
can be null if there is no attribute-value placeholder.ItemCollection<QueryOutcome> query(java.lang.String hashKeyName, java.lang.Object hashKeyValue, RangeKeyCondition rangeKeyCondition, java.lang.String filterExpression, java.lang.String projectionExpression, java.util.Map<java.lang.String,java.lang.String> nameMap, java.util.Map<java.lang.String,java.lang.Object> valueMap)
filterExpression
- filter expression
example: "(#a > :a) AND (#c > :c OR #e < :e)"projectionExpression
- projection expression
example: "a.b, c[0].e"nameMap
- actual values for the attribute-name place holders;
can be null if there is no attribute-name placeholder.valueMap
- actual values for the value place holders
can be null if there is no attribute-value placeholder.ItemCollection<QueryOutcome> query(QuerySpec spec)