public class ScanImpl extends Object implements ScanApi
ScanApi
.Constructor and Description |
---|
ScanImpl(AmazonDynamoDB client,
Table table) |
Modifier and Type | Method and Description |
---|---|
protected ItemCollection<ScanOutcome> |
doScan(ScanSpec spec) |
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)
ScanApi
public ItemCollection<ScanOutcome> scan(String filterExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
ScanApi
scan
in interface ScanApi
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.public ItemCollection<ScanOutcome> scan(String filterExpression, String projectionExpression, Map<String,String> nameMap, Map<String,Object> valueMap)
ScanApi
scan
in interface ScanApi
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.public ItemCollection<ScanOutcome> scan(ScanSpec spec)
ScanApi
protected ItemCollection<ScanOutcome> doScan(ScanSpec spec)
public final Table getTable()
Copyright © 2024. All rights reserved.