Interface CqnUpsert

All Superinterfaces:
CqnStatement, CqnXsert, JSONizable
All Known Subinterfaces:
Upsert

public interface CqnUpsert extends CqnXsert
  • Method Details

    • entries

      List<Map<String,Object>> entries()
      The entries to be upserted by this statement.
      Specified by:
      entries in interface CqnXsert
      Returns:
      a reference to the upsert statement's entries
    • isUpsert

      default boolean isUpsert()
      Description copied from interface: CqnStatement
      Returns true if this is a CqnUpsert statement.
      Specified by:
      isUpsert in interface CqnStatement
      Returns:
      true if this is an upsert statement, otherwise false
    • asUpsert

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