|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.dynamodb.model.QueryResult
public class QueryResult
Query Result
Constructor Summary | |
---|---|
QueryResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Double |
getConsumedCapacityUnits()
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
Integer |
getCount()
Number of items in the response. |
List<Map<String,AttributeValue>> |
getItems()
Returns the value of the Items property for this object. |
Key |
getLastEvaluatedKey()
Primary key of the item where the query operation stopped, inclusive of the previous result set. |
int |
hashCode()
|
void |
setConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
void |
setCount(Integer count)
Number of items in the response. |
void |
setItems(Collection<Map<String,AttributeValue>> items)
Sets the value of the Items property for this object. |
void |
setLastEvaluatedKey(Key lastEvaluatedKey)
Primary key of the item where the query operation stopped, inclusive of the previous result set. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
QueryResult |
withConsumedCapacityUnits(Double consumedCapacityUnits)
The number of Capacity Units of the provisioned throughput of the table consumed during the operation. |
QueryResult |
withCount(Integer count)
Number of items in the response. |
QueryResult |
withItems(Collection<Map<String,AttributeValue>> items)
Sets the value of the Items property for this object. |
QueryResult |
withItems(Map<String,AttributeValue>... items)
Sets the value of the Items property for this object. |
QueryResult |
withLastEvaluatedKey(Key lastEvaluatedKey)
Primary key of the item where the query operation stopped, inclusive of the previous result set. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QueryResult()
Method Detail |
---|
public List<Map<String,AttributeValue>> getItems()
public void setItems(Collection<Map<String,AttributeValue>> items)
items
- The new value for the Items property for this object.public QueryResult withItems(Map<String,AttributeValue>... items)
Returns a reference to this object so that method calls can be chained together.
items
- The new value for the Items property for this object.
public QueryResult withItems(Collection<Map<String,AttributeValue>> items)
Returns a reference to this object so that method calls can be chained together.
items
- The new value for the Items property for this object.
public Integer getCount()
public void setCount(Integer count)
count
- Number of items in the response.public QueryResult withCount(Integer count)
Returns a reference to this object so that method calls can be chained together.
count
- Number of items in the response.
public Key getLastEvaluatedKey()
LastEvaluatedKey
is null when the entire query result set
is complete (i.e. the operation processed the "last page").
LastEvaluatedKey
is null when the entire query result set
is complete (i.e. the operation processed the "last page").public void setLastEvaluatedKey(Key lastEvaluatedKey)
LastEvaluatedKey
is null when the entire query result set
is complete (i.e. the operation processed the "last page").
lastEvaluatedKey
- Primary key of the item where the query operation stopped, inclusive
of the previous result set. Use this value to start a new operation
excluding this value in the new request. The
LastEvaluatedKey
is null when the entire query result set
is complete (i.e. the operation processed the "last page").public QueryResult withLastEvaluatedKey(Key lastEvaluatedKey)
LastEvaluatedKey
is null when the entire query result set
is complete (i.e. the operation processed the "last page").
Returns a reference to this object so that method calls can be chained together.
lastEvaluatedKey
- Primary key of the item where the query operation stopped, inclusive
of the previous result set. Use this value to start a new operation
excluding this value in the new request. The
LastEvaluatedKey
is null when the entire query result set
is complete (i.e. the operation processed the "last page").
public Double getConsumedCapacityUnits()
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.public void setConsumedCapacityUnits(Double consumedCapacityUnits)
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.
consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.public QueryResult withConsumedCapacityUnits(Double consumedCapacityUnits)
GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.
Returns a reference to this object so that method calls can be chained together.
consumedCapacityUnits
- The number of Capacity Units of the provisioned throughput of the
table consumed during the operation. GetItem
,
BatchGetItem
, BatchWriteItem
,
Query
, and Scan
operations consume
ReadCapacityUnits
, while PutItem
,
UpdateItem
, and DeleteItem
operations
consume WriteCapacityUnits
.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |