class QueryCollection extends ItemCollection<QueryOutcome>
Modifier and Type | Field and Description |
---|---|
private AmazonDynamoDB |
client |
private QuerySpec |
spec |
private java.util.Map<java.lang.String,AttributeValue> |
startKey |
Constructor and Description |
---|
QueryCollection(AmazonDynamoDB client,
QuerySpec spec) |
Modifier and Type | Method and Description |
---|---|
Page<Item,QueryOutcome> |
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(QueryOutcome 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 QuerySpec spec
private final java.util.Map<java.lang.String,AttributeValue> startKey
public QueryCollection(AmazonDynamoDB client, QuerySpec spec)
public Page<Item,QueryOutcome> firstPage()
firstPage
in class PageBasedCollection<Item,QueryOutcome>
public java.lang.Integer getMaxResultSize()
ItemCollection
getMaxResultSize
in class ItemCollection<QueryOutcome>
protected void setLastLowLevelResult(QueryOutcome lowLevelResult)
PageBasedCollection
setLastLowLevelResult
in class PageBasedCollection<Item,QueryOutcome>