Class QueryOptionsUtil.CqlStatementOptionsAccessor<T>

java.lang.Object
org.springframework.data.cassandra.core.cql.QueryOptionsUtil.CqlStatementOptionsAccessor<T>
Type Parameters:
T -
Enclosing class:
QueryOptionsUtil

public abstract static class QueryOptionsUtil.CqlStatementOptionsAccessor<T> extends Object
Wrapper for common options used with CQL statements that are represented in the CQL statement such as TTL and timestamp.
Since:
4.2
  • Constructor Details

    • CqlStatementOptionsAccessor

      public CqlStatementOptionsAccessor()
  • Method Details

    • ofInsert

      public static QueryOptionsUtil.CqlStatementOptionsAccessor<com.datastax.oss.driver.api.querybuilder.insert.Insert> ofInsert(Bindings bindings, com.datastax.oss.driver.api.querybuilder.insert.Insert statement)
      Creates an accessor variant that captures options through BindMarker for Insert.
      Parameters:
      bindings -
      statement -
      Returns:
    • ofInsert

      public static QueryOptionsUtil.CqlStatementOptionsAccessor<com.datastax.oss.driver.api.querybuilder.insert.Insert> ofInsert(com.datastax.oss.driver.api.querybuilder.insert.Insert statement)
      Creates an accessor variant that applies options directly within the CQL statement for Insert.
      Parameters:
      statement -
      Returns:
    • ofUpdate

      public static QueryOptionsUtil.CqlStatementOptionsAccessor<com.datastax.oss.driver.api.querybuilder.update.UpdateStart> ofUpdate(Bindings bindings, com.datastax.oss.driver.api.querybuilder.update.UpdateStart statement)
      Creates an accessor variant that captures options through BindMarker for Update.
      Parameters:
      bindings -
      statement -
      Returns:
    • ofUpdate

      public static QueryOptionsUtil.CqlStatementOptionsAccessor<com.datastax.oss.driver.api.querybuilder.update.UpdateStart> ofUpdate(com.datastax.oss.driver.api.querybuilder.update.UpdateStart statement)
      Creates an accessor variant that applies options directly within the CQL statement for Update.
      Parameters:
      statement -
      Returns:
    • ofDelete

      public static QueryOptionsUtil.CqlStatementOptionsAccessor<com.datastax.oss.driver.api.querybuilder.delete.DeleteSelection> ofDelete(Bindings bindings, com.datastax.oss.driver.api.querybuilder.delete.DeleteSelection statement)
      Creates an accessor variant that captures options through BindMarker for Delete.
      Parameters:
      bindings -
      statement -
      Returns:
    • ofDelete

      public static QueryOptionsUtil.CqlStatementOptionsAccessor<com.datastax.oss.driver.api.querybuilder.delete.DeleteSelection> ofDelete(com.datastax.oss.driver.api.querybuilder.delete.DeleteSelection statement)
      Creates an accessor variant that applies options directly within the CQL statement for Delete.
      Parameters:
      statement -
      Returns: