public class ScanImpl extends Object implements ScanApi
ScanApi.| Constructor and Description |
|---|
ScanImpl(AmazonDynamoDB client,
Table table) |
| Modifier and Type | Method and Description |
|---|---|
Table |
getTable()
Returns the owning table.
|
ItemCollection<ScanOutcome> |
scan(ScanFilter... scanFilters)
Retrieves items by the specified list of scan filters.
|
ItemCollection<ScanOutcome> |
scan(ScanSpec spec)
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.
|
public ScanImpl(AmazonDynamoDB client, Table table)
public ItemCollection<ScanOutcome> scan(ScanFilter... scanFilters)
ScanApipublic ItemCollection<ScanOutcome> scan(String filterExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
ScanApiscan in interface ScanApifilterExpression - 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.public ItemCollection<ScanOutcome> scan(String filterExpression, String projectionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
ScanApiscan in interface ScanApifilterExpression - 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.public ItemCollection<ScanOutcome> scan(ScanSpec spec)
ScanApipublic final Table getTable()