Class TransactGetBuilder


public class TransactGetBuilder extends AbstractTransactGetBuilder<TransactGetBuilder>
Builds a transactional get operation that reads up to 100 items atomically across one or more tables.

Obtain via DynamoSimplifiedClient.transactGet().

All items are retrieved in a single all-or-nothing transaction. If any item cannot be read, the entire transaction fails and no results are returned.

Note: DynamoDB's TransactGetItems API does not support ConsistentRead. This is an API-level limitation and cannot be worked around through any code path.

  • Constructor Details

    • TransactGetBuilder

      public TransactGetBuilder(@NonNull software.amazon.awssdk.enhanced.dynamodb.DynamoDbEnhancedClient enhancedClient, @NonNull software.amazon.awssdk.services.dynamodb.DynamoDbClient dynamoDbClient)
      Constructs a transactional get builder.

      Typically obtained via DynamoSimplifiedClient.transactGet().

      Parameters:
      enhancedClient - the enhanced DynamoDB client
      dynamoDbClient - the low-level DynamoDB client (used for projection fallback)
  • Method Details