BatchGetItemRequest
instead.@Deprecated public class BatchGetItemRequest extends AmazonWebServiceRequest implements Serializable
BatchGetItem operation
.
Retrieves the attributes for multiple items from multiple tables using their primary keys.
The maximum number of item attributes that can be retrieved for a single operation is 100. Also, the number of items retrieved is constrained by a 1
MB the size limit. If the response size limit is exceeded or a partial result is returned due to an internal processing failure, Amazon DynamoDB
returns an UnprocessedKeys
value so you can retry the operation starting with the next item to get.
Amazon DynamoDB automatically adjusts the number of items returned per page to enforce this limit. For example, even if you ask to retrieve 100 items,
but each individual item is 50k in size, the system returns 20 items and an appropriate UnprocessedKeys
value so you can get the next
page of results. If necessary, your application needs its own logic to assemble the pages of results into one set.
NOOP
Constructor and Description |
---|
BatchGetItemRequest()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Deprecated.
|
Map<String,KeysAndAttributes> |
getRequestItems()
Deprecated.
A map of the table name and corresponding items to get by primary key.
|
int |
hashCode()
Deprecated.
|
void |
setRequestItems(Map<String,KeysAndAttributes> requestItems)
Deprecated.
A map of the table name and corresponding items to get by primary key.
|
String |
toString()
Deprecated.
Returns a string representation of this object; useful for testing and
debugging.
|
BatchGetItemRequest |
withRequestItems(Map<String,KeysAndAttributes> requestItems)
Deprecated.
A map of the table name and corresponding items to get by primary key.
|
copyPrivateRequestParameters, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public Map<String,KeysAndAttributes> getRequestItems()
Constraints:
Length: 1 - 100
public void setRequestItems(Map<String,KeysAndAttributes> requestItems)
Constraints:
Length: 1 - 100
requestItems
- A map of the table name and corresponding items to get by primary key.
While requesting items, each table name can be invoked only once per
operation.public BatchGetItemRequest withRequestItems(Map<String,KeysAndAttributes> requestItems)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
requestItems
- A map of the table name and corresponding items to get by primary key.
While requesting items, each table name can be invoked only once per
operation.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.