Class DynamoDbCommandExecutor
java.lang.Object
org.evomaster.client.java.controller.dynamodb.DynamoDbCommandExecutor
Executes DynamoDB insertions without binding the controller API to an AWS SDK version.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.evomaster.client.java.controller.api.dto.database.operations.DynamoDbInsertionResultsDtoexecuteInsert(Object client, List<org.evomaster.client.java.controller.api.dto.database.operations.DynamoDbInsertionDto> insertions) Executes insertions using a synchronous or asynchronous AWS SDK v2 client.
-
Method Details
-
executeInsert
public static org.evomaster.client.java.controller.api.dto.database.operations.DynamoDbInsertionResultsDto executeInsert(Object client, List<org.evomaster.client.java.controller.api.dto.database.operations.DynamoDbInsertionDto> insertions) Executes insertions using a synchronous or asynchronous AWS SDK v2 client.- Parameters:
client- DynamoDB clientinsertions- items to insert- Returns:
- per-insertion results, stopping at the first failed insertion
- Throws:
NullPointerException- when the client or insertion list isnullIllegalArgumentException- when the insertion list is empty
-