@ThreadSafe public interface ScanApi
Modifier and Type | Method and Description |
---|---|
ItemCollection<ScanOutcome> |
scan(ScanFilter... scanFilters)
Retrieves items by the specified list of scan filters.
|
ItemCollection<ScanOutcome> |
scan(ScanSpec params)
Scans table by specifying all the details.
|
ItemCollection<ScanOutcome> |
scan(String filterExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Scans table using a Filter Expression.
|
ItemCollection<ScanOutcome> |
scan(String filterExpression,
String projectionExpression,
Map<String,String> nameMap,
Map<String,Object> valueMap)
Scans table using a Filter Expression and a Projection Expression.
|
ItemCollection<ScanOutcome> scan(ScanFilter... scanFilters)
ItemCollection<ScanOutcome> scan(String filterExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
filterExpression
- condition 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<ScanOutcome> scan(String filterExpression, String projectionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
filterExpression
- condition 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<ScanOutcome> scan(ScanSpec params)
Copyright © 2022. All rights reserved.