Interface CassandraStatementDsl

All Known Implementing Classes:
CassandraDsl

public interface CassandraStatementDsl
  • Method Summary

    Modifier and Type
    Method
    Description
    and()
    Close the current statement
    d(String columnName, String printableValue)
    Add a value to insert
    List<org.evomaster.client.java.controller.api.dto.database.operations.CassandraInsertionDto>
    Build the DTOs (Data Transfer Object) from this DSL, closing it (ie, not usable any longer).
  • Method Details

    • d

      CassandraStatementDsl d(String columnName, String printableValue)
      Add a value to insert
      Parameters:
      columnName - name of column in the table
      printableValue - the value that is going to be inserted, as it would be printed as string. This means that 5 is represented with "5", whereas "5" with "'5'"
      Returns:
      the continuation of this statement, in which more values can be added
    • and

      Close the current statement
      Returns:
      the sequence object on which new Cassandra commands can be added
    • dtos

      List<org.evomaster.client.java.controller.api.dto.database.operations.CassandraInsertionDto> dtos()
      Build the DTOs (Data Transfer Object) from this DSL, closing it (ie, not usable any longer).
      Returns:
      a list of DTOs representing all the insertion Cassandra commands defined in this DSL.