public class ScanOperationConfig
extends java.lang.Object
Constructor and Description |
---|
ScanOperationConfig() |
Modifier and Type | Method and Description |
---|---|
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(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(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.
|
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(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(ConditionalOperator conditionalOperator)
conditionalOperator
- the Conditional operator. see
ConditionalOperator
.ScanOperationConfig
.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.