class ScanCollection extends ItemCollection<ScanOutcome>
Modifier and Type | Field and Description |
---|---|
private AmazonDynamoDB |
client |
private ScanSpec |
spec |
private java.util.Map<java.lang.String,AttributeValue> |
startKey |
Constructor and Description |
---|
ScanCollection(AmazonDynamoDB client,
ScanSpec spec) |
Modifier and Type | Method and Description |
---|---|
Page<Item,ScanOutcome> |
firstPage() |
java.lang.Integer |
getMaxResultSize()
Returns the maximum number of resources to be retrieved in this
collection; or null if there is no limit.
|
protected void |
setLastLowLevelResult(ScanOutcome lowLevelResult)
Internal method used by the implementation layer for setting
the low level result received from the server side.
|
accumulateStats, getAccumulatedConsumedCapacity, getAccumulatedItemCount, getAccumulatedScannedCount, getLastLowLevelResult, getTotalConsumedCapacity, getTotalCount, getTotalScannedCount, pages, registerLowLevelResultListener
iterator
private final AmazonDynamoDB client
private final ScanSpec spec
private final java.util.Map<java.lang.String,AttributeValue> startKey
public ScanCollection(AmazonDynamoDB client, ScanSpec spec)
public Page<Item,ScanOutcome> firstPage()
firstPage
in class PageBasedCollection<Item,ScanOutcome>
public java.lang.Integer getMaxResultSize()
ItemCollection
getMaxResultSize
in class ItemCollection<ScanOutcome>
protected void setLastLowLevelResult(ScanOutcome lowLevelResult)
PageBasedCollection
setLastLowLevelResult
in class PageBasedCollection<Item,ScanOutcome>