T - The type of POJO associated with this statement.public class CreateTypeImpl<T> extends GroupStatementImpl<Void,VoidFuture,T> implements CreateType<T>
CreateTypeImpl class defines a CREATE TYPE statement.| Modifier and Type | Class and Description |
|---|---|
static class |
CreateTypeImpl.WhereImpl<T>
The
WhereImpl class defines a WHERE clause for the CREATE
TYPE statement which can be used to specify keyspace keys used for the
keyspace name. |
CreateType.Where<T>bridge, CI_PREFIX, idempotent, isCounterOp, mgr, MK_PREFIX, resultClass, simpleSize, UDT_C_PREFIX| Constructor and Description |
|---|
CreateTypeImpl(ClassInfoImpl.Context context,
StatementManagerImpl mgr,
StatementBridge bridge)
Instantiates a new
CreateTypeImpl 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.
|
protected StringBuilder[] |
buildQueryStrings(UDTClassInfoImpl<T> ucinfo)
Builds query strings for the specified table.
|
CreateType<T> |
ifNotExists() |
CreateType.Where<T> |
where() |
CreateType.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 CreateTypeImpl(ClassInfoImpl.Context context, StatementManagerImpl mgr, StatementBridge bridge)
CreateTypeImpl object.context - the non-null class info context for the POJO
associated with this statementmgr - the non-null statement managerbridge - the non-null statement bridgeprotected StringBuilder[] buildQueryStrings(UDTClassInfoImpl<T> ucinfo)
ucinfo - the non-null UDT POJO class to build a query
stringnull if there is none for the
specified tableIllegalArgumentException - if the keyspace has not yet been computed
and cannot be computed with the provided keyspace keys yet or if
assignments reference columns not defined in the POJO or invalid
values or if missing mandatory columns are referenced for the
specified tableprotected 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 CreateType<T> ifNotExists()
ifNotExists in interface CreateType<T>CreateType.ifNotExists()public CreateType.Where<T> where(Clause clause)
where in interface CreateType<T>CreateType.where(org.helenus.driver.Clause)public CreateType.Where<T> where()
where in interface CreateType<T>CreateType.where()Copyright (C) 2015-2017 The Helenus Driver Project Authors.