Class ReadBatch
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.model.ReadBatch
Defines a collection of primary keys for items in a table, stored as 
KeysAndAttributes, and
 used for the batchGetItem() operation (such as
 DynamoDbEnhancedClient.batchGetItem(BatchGetItemEnhancedRequest)) as part of a
 BatchGetItemEnhancedRequest.
 A valid request object should contain one or more primary keys.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic interfaceA builder that is used to create a request with the desired parameters.
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> ReadBatch.Builder<T> Creates a newly initialized builder for a read batch.booleaninthashCode()Returns the collection of keys and attributes, seeKeysAndAttributes, in this read batch.Returns the table name associated with this batch.
- 
Method Details- 
builderCreates a newly initialized builder for a read batch.- Type Parameters:
- T- The type of the modelled object, corresponding to itemClass
- Parameters:
- itemClass- the class that items in this table map to
- Returns:
- a ReadBatch builder
 
- 
tableNameReturns the table name associated with this batch.
- 
keysAndAttributesReturns the collection of keys and attributes, seeKeysAndAttributes, in this read batch.
- 
equals
- 
hashCode
 
-