@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExecuteStatementResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ExecuteStatementResult() |
Modifier and Type | Method and Description |
---|---|
ExecuteStatementResult |
addLastEvaluatedKeyEntry(String key,
AttributeValue value)
Add a single LastEvaluatedKey entry
|
ExecuteStatementResult |
clearLastEvaluatedKeyEntries()
Removes all the entries added into LastEvaluatedKey.
|
ExecuteStatementResult |
clone() |
boolean |
equals(Object obj) |
ConsumedCapacity |
getConsumedCapacity() |
List<Map<String,AttributeValue>> |
getItems()
If a read operation was used, this property will contain the result of the read operation; a map of attribute
names and their values.
|
Map<String,AttributeValue> |
getLastEvaluatedKey()
The primary key of the item where the operation stopped, inclusive of the previous result set.
|
String |
getNextToken()
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
int |
hashCode() |
void |
setConsumedCapacity(ConsumedCapacity consumedCapacity) |
void |
setItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute
names and their values.
|
void |
setLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set.
|
void |
setNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
String |
toString()
Returns a string representation of this object.
|
ExecuteStatementResult |
withConsumedCapacity(ConsumedCapacity consumedCapacity) |
ExecuteStatementResult |
withItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute
names and their values.
|
ExecuteStatementResult |
withItems(Map<String,AttributeValue>... items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute
names and their values.
|
ExecuteStatementResult |
withLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set.
|
ExecuteStatementResult |
withNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Map<String,AttributeValue>> getItems()
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
public void setItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
items
- If a read operation was used, this property will contain the result of the read operation; a map of
attribute names and their values. For the write operations this value will be empty.public ExecuteStatementResult withItems(Map<String,AttributeValue>... items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- If a read operation was used, this property will contain the result of the read operation; a map of
attribute names and their values. For the write operations this value will be empty.public ExecuteStatementResult withItems(Collection<Map<String,AttributeValue>> items)
If a read operation was used, this property will contain the result of the read operation; a map of attribute names and their values. For the write operations this value will be empty.
items
- If a read operation was used, this property will contain the result of the read operation; a map of
attribute names and their values. For the write operations this value will be empty.public void setNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
nextToken
- If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response. If set, you can use that this value in the subsequent request to get the remaining results.public String getNextToken()
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
public ExecuteStatementResult withNextToken(String nextToken)
If the response of a read request exceeds the response payload limit DynamoDB will set this value in the response. If set, you can use that this value in the subsequent request to get the remaining results.
nextToken
- If the response of a read request exceeds the response payload limit DynamoDB will set this value in the
response. If set, you can use that this value in the subsequent request to get the remaining results.public void setConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- public ConsumedCapacity getConsumedCapacity()
public ExecuteStatementResult withConsumedCapacity(ConsumedCapacity consumedCapacity)
consumedCapacity
- public Map<String,AttributeValue> getLastEvaluatedKey()
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to
start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty, then
the "last page" of results has been processed and there is no more data to be retrieved. If
LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the result
set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey
is empty.
LastEvaluatedKey
is empty, then the "last page" of results has been processed and there is no more data to be retrieved.
If LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in
the result set. The only way to know when you have reached the end of the result set is when
LastEvaluatedKey
is empty.public void setLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to
start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty, then
the "last page" of results has been processed and there is no more data to be retrieved. If
LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the result
set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey
is empty.
lastEvaluatedKey
- The primary key of the item where the operation stopped, inclusive of the previous result set. Use this
value to start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If
LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the
result set. The only way to know when you have reached the end of the result set is when
LastEvaluatedKey
is empty.public ExecuteStatementResult withLastEvaluatedKey(Map<String,AttributeValue> lastEvaluatedKey)
The primary key of the item where the operation stopped, inclusive of the previous result set. Use this value to
start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty, then
the "last page" of results has been processed and there is no more data to be retrieved. If
LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the result
set. The only way to know when you have reached the end of the result set is when LastEvaluatedKey
is empty.
lastEvaluatedKey
- The primary key of the item where the operation stopped, inclusive of the previous result set. Use this
value to start a new operation, excluding this value in the new request. If LastEvaluatedKey
is empty, then the "last page" of results has been processed and there is no more data to be retrieved. If
LastEvaluatedKey
is not empty, it does not necessarily mean that there is more data in the
result set. The only way to know when you have reached the end of the result set is when
LastEvaluatedKey
is empty.public ExecuteStatementResult addLastEvaluatedKeyEntry(String key, AttributeValue value)
public ExecuteStatementResult clearLastEvaluatedKeyEntries()
public String toString()
toString
in class Object
Object.toString()
public ExecuteStatementResult clone()
Copyright © 2022. All rights reserved.