T - The type of POJO associated with this statement.public class CreateIndexImpl<T> extends GroupStatementImpl<Void,VoidFuture,T> implements CreateIndex<T>
CreateIndexImpl class defines a CREATE INDEX statement.| Modifier and Type | Class and Description |
|---|---|
static class |
CreateIndexImpl.BuilderImpl<T>
The
BuilderImpl class defines an in-construction CREATE INDEX
statement. |
static class |
CreateIndexImpl.WhereImpl<T>
The
WhereImpl class defines a WHERE clause for the CREATE
INDEX statement which can be used to specify keyspace keys used for the
keyspace name. |
CreateIndex.Builder<T>, CreateIndex.Where<T>bridge, CI_PREFIX, idempotent, isCounterOp, mgr, MK_PREFIX, resultClass, simpleSize, UDT_C_PREFIX| Constructor and Description |
|---|
CreateIndexImpl(ClassInfoImpl.Context context,
String customClass,
String[] tables,
StatementManagerImpl mgr,
StatementBridge bridge)
Instantiates a new
CreateIndexImpl 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.
|
CreateIndex<T> |
ifNotExists() |
CreateIndex.Where<T> |
where() |
CreateIndex.Where<T> |
where(Clause clause) |
CreateIndex<T> |
with(WithOptions option) |
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 CreateIndexImpl(ClassInfoImpl.Context context, String customClass, String[] tables, StatementManagerImpl mgr, StatementBridge bridge)
CreateIndexImpl object.context - the non-null class info context for the POJO
associated with this statementcustomClass - the custom class for the indextables - the tables to createmgr - the non-null statement managerbridge - the non-null statement bridgeIllegalArgumentException - if any of the specified tables are not
defined in the POJOprotected 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)protected List<StatementImpl<?,?,?>> buildGroupedStatements()
buildGroupedStatements in class GroupStatementImpl<Void,VoidFuture,T>null list of all underlying statements from this
statementGroupStatementImpl.buildGroupedStatements()public CreateIndex<T> ifNotExists()
ifNotExists in interface CreateIndex<T>CreateIndex.ifNotExists()public CreateIndex<T> with(WithOptions option)
with in interface CreateIndex<T>CreateIndex.with(org.helenus.driver.WithOptions)public CreateIndex.Where<T> where(Clause clause)
where in interface CreateIndex<T>CreateIndex.where(org.helenus.driver.Clause)public CreateIndex.Where<T> where()
where in interface CreateIndex<T>CreateIndex.where()Copyright (C) 2015-2017 The Helenus Driver Project Authors.