public class QueryOperationConfig
extends java.lang.Object
| Constructor and Description |
|---|
QueryOperationConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getAttributesToGet() |
protected com.amazonaws.services.dynamodbv2.model.ConditionalOperator |
getConditionalOperator() |
protected QueryFilter |
getFilter() |
protected Expression |
getFilterExpression() |
protected java.lang.String |
getIndexName() |
protected Expression |
getKeyExpression() |
protected int |
getLimit() |
protected com.amazonaws.services.dynamodbv2.model.Select |
getSelect() |
protected boolean |
isBackwardSearch() |
protected boolean |
isCollectResults() |
protected boolean |
isConsistentRead() |
QueryOperationConfig |
withAttributesToGet(java.util.List<java.lang.String> attributesToGet)
Set attributes to get.
|
QueryOperationConfig |
withBackwardSearch(boolean backwardSearch)
param to search the query in descending order.
|
QueryOperationConfig |
withCollectResults(boolean collectResults)
Whether to collect GetNextSet and GetRemaining results in Matches
property.
|
QueryOperationConfig |
withConditionalOperator(com.amazonaws.services.dynamodbv2.model.ConditionalOperator conditionalOperator)
A logical operator to apply to the conditions in the Filter property: AND
- If all of the conditions evaluate to true, then the entire filter
evaluates to true.
|
QueryOperationConfig |
withConsistentRead(boolean consistentRead)
Set Consistent Read.
|
QueryOperationConfig |
withFilter(QueryFilter filter)
Set Query Filter.
|
QueryOperationConfig |
withFilterExpression(Expression filterExpression)
Set filter expression.
|
QueryOperationConfig |
withIndexName(java.lang.String indexName)
Name of the index to query.
|
QueryOperationConfig |
withKeyExpression(Expression keyExpression)
Set key expression.
|
QueryOperationConfig |
withLimit(int limit)
The pagination size.
|
QueryOperationConfig |
withSelect(com.amazonaws.services.dynamodbv2.model.Select select)
Attributes to select.
|
public QueryOperationConfig withKeyExpression(Expression keyExpression)
keyExpression - the key expression. see Expression.QueryOperationConfig.public QueryOperationConfig withFilterExpression(Expression filterExpression)
filterExpression - the filter expression. see Expression.QueryOperationConfig.public QueryOperationConfig withFilter(QueryFilter filter)
filter - the QueryFilter expression. see QueryFilter.QueryOperationConfig.public QueryOperationConfig withConsistentRead(boolean consistentRead)
consistentRead - flag indicating if reads are consistent. see
consistentRead.QueryOperationConfig.public QueryOperationConfig withAttributesToGet(java.util.List<java.lang.String> attributesToGet)
attributesToGet - the list of attributes to get.QueryOperationConfig.public QueryOperationConfig withLimit(int limit)
limit - the pagination limit.QueryOperationConfig.public QueryOperationConfig withBackwardSearch(boolean backwardSearch)
backwardSearch - flag to set descending order.QueryOperationConfig.public QueryOperationConfig withIndexName(java.lang.String indexName)
indexName - the index name.QueryOperationConfig.public QueryOperationConfig withSelect(com.amazonaws.services.dynamodbv2.model.Select select)
select - Select.QueryOperationConfig.public QueryOperationConfig withCollectResults(boolean collectResults)
collectResults - Whether to collect GetNextSet and GetRemaining
results in Matches propertyQueryOperationConfig.public QueryOperationConfig withConditionalOperator(com.amazonaws.services.dynamodbv2.model.ConditionalOperator conditionalOperator)
conditionalOperator - the Conditional operator. see
ConditionalOperator.QueryOperationConfig.protected Expression getKeyExpression()
protected Expression getFilterExpression()
protected QueryFilter getFilter()
protected boolean isConsistentRead()
protected java.util.List<java.lang.String> getAttributesToGet()
protected int getLimit()
protected boolean isBackwardSearch()
protected java.lang.String getIndexName()
protected com.amazonaws.services.dynamodbv2.model.Select getSelect()
protected boolean isCollectResults()
protected com.amazonaws.services.dynamodbv2.model.ConditionalOperator getConditionalOperator()