public class ScanOperationConfig
extends java.lang.Object
| Constructor and Description |
|---|
ScanOperationConfig() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getAttributesToGet() |
protected com.amazonaws.services.dynamodbv2.model.ConditionalOperator |
getConditionalOperator() |
protected ScanFilter |
getFilter() |
protected Expression |
getFilterExpression() |
protected java.lang.String |
getIndexName() |
protected int |
getLimit() |
protected int |
getSegment() |
protected com.amazonaws.services.dynamodbv2.model.Select |
getSelect() |
protected int |
getTotalSegments() |
protected boolean |
isCollectResults() |
protected boolean |
isConsistentRead() |
ScanOperationConfig |
withAttributesToGet(java.util.List<java.lang.String> attributesToGet)
Set attributes to get.
|
ScanOperationConfig |
withCollectResults(boolean collectResults)
Whether to collect GetNextSet and GetRemaining results in Matches
property.
|
ScanOperationConfig |
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.
|
ScanOperationConfig |
withConsistentRead(boolean consistentRead)
Set Consistent Read.
|
ScanOperationConfig |
withFilter(ScanFilter filter)
Set Query Filter.
|
ScanOperationConfig |
withFilterExpression(Expression filterExpression)
Set filter expression.
|
ScanOperationConfig |
withIndexName(java.lang.String indexName)
Name of the index to query.
|
ScanOperationConfig |
withLimit(int limit)
The pagination size.
|
ScanOperationConfig |
withSegment(int segment)
For parallel Scan requests, Segment identifies an
individual segment to be scanned by an application "worker" (such as a
thread or a process).
|
ScanOperationConfig |
withSelect(com.amazonaws.services.dynamodbv2.model.Select select)
Attributes to select.
|
ScanOperationConfig |
withTotalSegments(int totalSegments)
For parallel Scan requests, TotalSegmentsrepresents the
total number of segments for a table that is being scanned.
|
protected boolean isConsistentRead()
protected java.util.List<java.lang.String> getAttributesToGet()
protected int getLimit()
protected Expression getFilterExpression()
protected ScanFilter getFilter()
protected java.lang.String getIndexName()
protected com.amazonaws.services.dynamodbv2.model.Select getSelect()
protected int getTotalSegments()
protected int getSegment()
protected boolean isCollectResults()
protected com.amazonaws.services.dynamodbv2.model.ConditionalOperator getConditionalOperator()
public ScanOperationConfig withConsistentRead(boolean consistentRead)
consistentRead - flag indicating if reads are consistent.ScanOperationConfig.public ScanOperationConfig withAttributesToGet(java.util.List<java.lang.String> attributesToGet)
attributesToGet - the list of attributes to get.ScanOperationConfig.public ScanOperationConfig withLimit(int limit)
limit - the pagination limit.ScanOperationConfig.public ScanOperationConfig withFilterExpression(Expression filterExpression)
filterExpression - the filter expression. see Expression.ScanOperationConfig.public ScanOperationConfig withFilter(ScanFilter filter)
filter - the QueryFilter expression. see QueryFilter.ScanOperationConfig.public ScanOperationConfig withIndexName(java.lang.String indexName)
indexName - the index name.ScanOperationConfig.public ScanOperationConfig withSelect(com.amazonaws.services.dynamodbv2.model.Select select)
select - Select.ScanOperationConfig.public ScanOperationConfig withTotalSegments(int totalSegments)
totalSegments - value in range 1-4096ScanOperationConfig.public ScanOperationConfig withSegment(int segment)
segment - values in range 0-4095.ScanOperationConfig.public ScanOperationConfig withCollectResults(boolean collectResults)
collectResults - Whether to collect GetNextSet and GetRemaining
results in Matches propertyScanOperationConfig.public ScanOperationConfig withConditionalOperator(com.amazonaws.services.dynamodbv2.model.ConditionalOperator conditionalOperator)
conditionalOperator - the Conditional operator. see
ConditionalOperator.ScanOperationConfig.