T - The type of POJO associated with the statement.public static class DeleteImpl.BuilderImpl<T> extends Object implements Delete.Builder<T>
BuilderImpl class defines an in-construction DELETE statement.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
allSelected
Flag to keep track of whether or not * has been selected.
|
protected StatementBridge |
bridge
Holds the statement bridge.
|
protected List<Object> |
columnNames
List of columns added.
|
protected ClassInfoImpl.Context |
context
Holds the context associated with the POJO class for this statement.
|
protected StatementManagerImpl |
mgr
Holds the statement manager.
|
| Modifier and Type | Method and Description |
|---|---|
Delete<T> |
from(java.util.stream.Stream<String> tables) |
Delete<T> |
from(String... tables) |
Delete<T> |
fromAll()
Specifies to delete from all tables defined in the POJO using the
keyspace defined in the POJO.
|
ClassInfo<T> |
getClassInfo() |
Class<T> |
getObjectClass() |
protected final StatementManagerImpl mgr
protected final StatementBridge bridge
protected final ClassInfoImpl.Context context
protected boolean allSelected
public Class<T> getObjectClass()
getObjectClass in interface Delete.Builder<T>CreateIndex.Builder.getObjectClass()public ClassInfo<T> getClassInfo()
getClassInfo in interface Delete.Builder<T>CreateIndex.Builder.getClassInfo()public Delete<T> from(String... tables)
from in interface Delete.Builder<T>Delete.Builder.from(java.lang.String[])public Delete<T> from(java.util.stream.Stream<String> tables)
from in interface Delete.Builder<T>Delete.Builder.from(java.util.stream.Stream)public Delete<T> fromAll()
This flavor should be used when the POJO doesn't require keyspace keys to the keyspace name.
fromAll in interface Delete.Builder<T>IllegalArgumentException - if unable to compute the keyspace name
without any keyspace keys or any of the referenced columns are not
defined by the POJOCopyright (C) 2015-2017 The Helenus Driver Project Authors.