Class Delete.Builder
- java.lang.Object
-
- com.datastax.driver.core.querybuilder.Delete.Builder
-
- Direct Known Subclasses:
Delete.Selection
- Enclosing class:
- Delete
public static class Delete.Builder extends Object
An in-construction DELETE statement.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Deletefrom(TableMetadata table)Adds the table to delete from.Deletefrom(String table)Adds the table to delete from.Deletefrom(String keyspace, String table)Adds the table to delete from.
-
-
-
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.
-
-