public class QueryOperationConfig
extends java.lang.Object
Constructor and Description |
---|
QueryOperationConfig() |
Modifier and Type | Method and Description |
---|---|
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(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(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(Select select)
select
- Select
.QueryOperationConfig
.public QueryOperationConfig withCollectResults(boolean collectResults)
collectResults
- Whether to collect GetNextSet and GetRemaining
results in Matches propertyQueryOperationConfig
.public QueryOperationConfig withConditionalOperator(ConditionalOperator conditionalOperator)
conditionalOperator
- the Conditional operator. see
ConditionalOperator
.QueryOperationConfig
.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.