T - The type of POJO associated with this statement.public class AlterSchemaImpl<T> extends SequenceStatementImpl<Void,VoidFuture,T> implements AlterSchema<T>
AlterSchemaImpl class defines a ALTER SCHEMA statement.| Modifier and Type | Class and Description |
|---|---|
static class |
AlterSchemaImpl.WhereImpl<T>
The
WhereImpl class defines a WHERE clause for the CREATE
SCHEMA statement which can be used to specify keyspace keys used for the
keyspace name. |
AlterSchema.Where<T>bridge, CI_PREFIX, idempotent, isCounterOp, mgr, MK_PREFIX, resultClass, simpleSize, UDT_C_PREFIX| Constructor and Description |
|---|
AlterSchemaImpl(ClassInfoImpl.Context context,
StatementManagerImpl mgr,
StatementBridge bridge)
Instantiates a new
AlterSchemaImpl 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 void |
appendGroupType(StringBuilder builder)
Appends the type of group this is; used when building a query string.
|
protected List<StatementImpl<?,?,?>> |
buildSequencedStatements()
Gets all underlying sequenced statements recursively in the proper order
for this statement.
|
protected void |
buildSequencedStatements(Set<Pair<String,Keyspace>> keyspaces,
Map<Pair<String,Keyspace>,Set<Table>> tables,
GroupImpl kgroup,
GroupImpl tgroup,
GroupImpl igroup,
SequenceImpl yseq,
GroupImpl group)
Gets all underlying sequenced statements for this alter schemas with the
ability to optionally tracked and skipped already created keyspaces and/or
tables.
|
Set<ClassInfo<?>> |
getClassInfos() |
Set<Class<?>> |
getObjectClasses() |
AlterSchema.Where<T> |
where() |
AlterSchema.Where<T> |
where(Clause clause) |
buildQueryStrings, buildStatements, executeAsyncRaw0, isIdempotent, setDirty, 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 AlterSchemaImpl(ClassInfoImpl.Context context, StatementManagerImpl mgr, StatementBridge bridge)
AlterSchemaImpl 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 void buildSequencedStatements(Set<Pair<String,Keyspace>> keyspaces, Map<Pair<String,Keyspace>,Set<Table>> tables, GroupImpl kgroup, GroupImpl tgroup, GroupImpl igroup, SequenceImpl yseq, GroupImpl group)
keyspaces - an optional set of keyspaces already created when
used as part of a create schemas statement or nulltables - an optional map of tables already for given keyspaces created
when used as part of a create schemas statement or nullkgroup - a group where to place all create keyspace statements
recursively expandedtgroup - a group where to place all create table statements
recursively expanded
one should be created and returned as part of the listigroup - a group where to place all create index statements
recursively expanded
one should be created and returned as part of the listyseq - a sequence where to place all create type statements
recursively expanded
one should be created and returned as part of the listgroup - a group where to place all insert statements for initial
objectsprotected 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 void appendGroupType(StringBuilder builder)
appendGroupType in class SequenceStatementImpl<Void,VoidFuture,T>builder - the builder to which to append the type of groupSequenceStatementImpl.appendGroupType(java.lang.StringBuilder)protected List<StatementImpl<?,?,?>> buildSequencedStatements()
buildSequencedStatements in class SequenceStatementImpl<Void,VoidFuture,T>null list of all underlying statements from this
statementSequenceStatementImpl.buildSequencedStatements()public Set<Class<?>> getObjectClasses()
getObjectClasses in interface AlterSchema<T>CreateSchema.getObjectClasses()public Set<ClassInfo<?>> getClassInfos()
getClassInfos in interface AlterSchema<T>CreateSchema.getClassInfos()public AlterSchema.Where<T> where(Clause clause)
where in interface AlterSchema<T>CreateSchema.where(org.helenus.driver.Clause)public AlterSchema.Where<T> where()
where in interface AlterSchema<T>CreateSchema.where()Copyright (C) 2015-2017 The Helenus Driver Project Authors.