T - The type of POJO associated with this statement.public class TruncateImpl<T> extends GroupStatementImpl<Void,VoidFuture,T> implements Truncate<T>
TruncateImpl class defines a TRUNCATE statement.| Modifier and Type | Class and Description |
|---|---|
static class |
TruncateImpl.WhereImpl<T>
The
WhereImpl class defines a WHERE clause for the TRUNCATE
statement which can be used to specify keyspace keys used for the
keyspace name. |
Truncate.Where<T>bridge, CI_PREFIX, idempotent, isCounterOp, mgr, MK_PREFIX, resultClass, simpleSize, UDT_C_PREFIX| Constructor and Description |
|---|
TruncateImpl(ClassInfoImpl.Context context,
StatementManagerImpl mgr,
StatementBridge bridge)
Instantiates a new
TruncateImpl object. |
TruncateImpl(ClassInfoImpl.Context context,
String[] tables,
StatementManagerImpl mgr,
StatementBridge bridge)
Instantiates a new
TruncateImpl object. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendGroupSubType(StringBuilder builder)
Appends the sub-type of group this is; used when building a query string.
|
protected List<StatementImpl<?,?,?>> |
buildGroupedStatements()
Gets all underlying grouped statements recursively in the proper order
for this statement.
|
Truncate.Where<T> |
where() |
Truncate.Where<T> |
where(Clause clause) |
appendGroupType, buildQueryStrings, buildStatements, executeAsyncRaw0, getParallelFactor, isIdempotent, setDirty, setParallelFactor, simpleSizeappendOptions, buildQueryString, clearKeyspace, disable, disableErrorTracing, disableTracing, enable, enableErrorTracing, enableErrorTracing, enableTracing, enableTracing, execute, executeAsync, executeAsync0, executeAsyncRaw, executeRaw, getClassInfo, getClassInfoImpl, getConsistencyLevel, getContext, getDefaultTimestamp, getFetchSize, getKeyspace, getObject, getObjectClass, getPOJOContext, getQueryString, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, getUserData, init, init, isCounterOp, isDirty, isEnabled, isErrorTracing, isTracing, setConsistencyLevel, setCounterOp, setDefaultTimestamp, setDirty, setFetchSize, setIdempotent, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel, setUserData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetQueryStringgetClassInfo, getObjectClassdisable, disableErrorTracing, disableTracing, enable, enableErrorTracing, enableErrorTracing, enableTracing, enableTracing, execute, executeAsync, executeAsyncRaw, executeRaw, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getKeyspace, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, getUserData, isEnabled, isErrorTracing, isIdempotent, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setIdempotent, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel, setUserDatapublic TruncateImpl(ClassInfoImpl.Context context, StatementManagerImpl mgr, StatementBridge bridge)
TruncateImpl object.context - the non-null class info context for the POJO
associated with this statementmgr - the non-null statement managerbridge - the non-null statement bridgepublic TruncateImpl(ClassInfoImpl.Context context, String[] tables, StatementManagerImpl mgr, StatementBridge bridge)
TruncateImpl object.context - the non-null class info context for the POJO
associated with this statementtables - the tables to truncatemgr - the non-null statement managerbridge - the non-null statement bridgeIllegalArgumentException - if any of the specified tables are not
defined in the POJOprotected final List<StatementImpl<?,?,?>> buildGroupedStatements()
buildGroupedStatements in class GroupStatementImpl<Void,VoidFuture,T>null list of all underlying statements from this
statementGroupStatementImpl.buildGroupedStatements()protected void appendGroupSubType(StringBuilder builder)
appendGroupSubType in class StatementImpl<Void,VoidFuture,T>builder - the builder to which to append the sub-type of groupStatementImpl.appendGroupSubType(java.lang.StringBuilder)public Truncate.Where<T> where(Clause clause)
where in interface Truncate<T>CreateTable.where(org.helenus.driver.Clause)public Truncate.Where<T> where()
where in interface Truncate<T>CreateTable.where()Copyright (C) 2015-2017 The Helenus Driver Project Authors.