Class Delete.Builder

  • Direct Known Subclasses:
    Delete.Selection
    Enclosing class:
    Delete

    public static class Delete.Builder
    extends Object
    An in-construction DELETE statement.
    • Method Detail

      • from

        public Delete from​(String table)
        Adds the table to delete from.
        Parameters:
        table - the name of the table to delete from.
        Returns:
        a newly built DELETE statement that deletes from table.
      • from

        public Delete from​(String keyspace,
                           String table)
        Adds the table to delete from.
        Parameters:
        keyspace - the name of the keyspace to delete from.
        table - the name of the table to delete from.
        Returns:
        a newly built DELETE statement that deletes from keyspace.table.
      • from

        public Delete from​(TableMetadata table)
        Adds the table to delete from.
        Parameters:
        table - the table to delete from.
        Returns:
        a newly built DELETE statement that deletes from table.