Interface CqnUpdate

All Superinterfaces:
CqnFilterableStatement, CqnStatement, JSONizable
All Known Subinterfaces:
Update<T>

public interface CqnUpdate extends CqnFilterableStatement
  • Method Details

    • data

      Map<String,Object> data()
      The data to be updated by this statement.
      Returns:
      a reference to this statement's update data
    • entries

      List<Map<String,Object>> entries()
      The entries to be updated by this statement.
      Returns:
      a reference to this statement's update entries
    • setters

      @Beta Map<String,CqnValue> setters()
      The setters of this statement.
      Returns:
      a reference to this statement's update setters
    • elements

      Stream<String> elements()
      The elements to be updated by this statement.
      Returns:
      a stream of the elements to be updated
    • isUpdate

      default boolean isUpdate()
      Description copied from interface: CqnStatement
      Returns true if this is a CqnUpdate statement.
      Specified by:
      isUpdate in interface CqnStatement
      Returns:
      true if this is an update statement, otherwise false
    • asUpdate

      default CqnUpdate asUpdate()
      Description copied from interface: CqnStatement
      Casts this CQN statement to CqnUpdate.
      Specified by:
      asUpdate in interface CqnStatement
      Returns:
      this statement as a CqnUpdate