java.lang.Object
org.evomaster.client.java.controller.dynamodb.dsl.DynamoDbDsl
All Implemented Interfaces:
DynamoDbSequenceDsl, DynamoDbStatementDsl

public final class DynamoDbDsl extends Object implements DynamoDbSequenceDsl, DynamoDbStatementDsl
DSL for DynamoDB insertions in generated tests.
  • Method Details

    • dynamoDb

      public static DynamoDbSequenceDsl dynamoDb()
      Returns:
      a new DynamoDB insertion sequence
    • insertInto

      public DynamoDbStatementDsl insertInto(String tableName)
      Description copied from interface: DynamoDbSequenceDsl
      Starts an item insertion.
      Specified by:
      insertInto in interface DynamoDbSequenceDsl
      Parameters:
      tableName - target table
      Returns:
      item statement
    • d

      public DynamoDbStatementDsl d(String attributeName, String printableValue)
      Description copied from interface: DynamoDbStatementDsl
      Adds a scalar attribute using its printable representation. Strings must be enclosed in single quotes, numbers are represented by their exact text, and booleans are represented by true or false.
      Specified by:
      d in interface DynamoDbStatementDsl
      Parameters:
      attributeName - attribute name
      printableValue - scalar value in printable form
      Returns:
      the continuation of this statement
    • dtos

      public List<org.evomaster.client.java.controller.api.dto.database.operations.DynamoDbInsertionDto> dtos()
      Specified by:
      dtos in interface DynamoDbStatementDsl
      Returns:
      the completed insertion DTOs