com.datastax.driver.core.querybuilder
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
columnNames
protected List<Object> columnNames
Delete.Builder
protected Delete.Builder()
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
.
Copyright © 2013. All Rights Reserved.