T - The type of POJO associated with this statement.public class CreateKeyspaceImpl<T> extends StatementImpl<Void,VoidFuture,T> implements CreateKeyspace<T>
CreateKeyspaceImpl class defines a CREATE KEYSPACE statement.| Modifier and Type | Class and Description |
|---|---|
static class |
CreateKeyspaceImpl.OptionsImpl<T>
The
OptionsImpl class defines the options of a CREATE
KEYSPACE statement. |
static class |
CreateKeyspaceImpl.WhereImpl<T>
The
WhereImpl class defines a WHERE clause for the CREATE
KEYSPACE statement which can be used to specify keyspace keys used for the
keyspace name. |
CreateKeyspace.Options<T>, CreateKeyspace.Where<T>| Modifier and Type | Field and Description |
|---|---|
protected CreateKeyspaceImpl.OptionsImpl<T> |
with
Holds the "WITH" options.
|
bridge, CI_PREFIX, idempotent, isCounterOp, mgr, MK_PREFIX, resultClass, simpleSize, UDT_C_PREFIX| Constructor and Description |
|---|
CreateKeyspaceImpl(ClassInfoImpl.Context context,
StatementManagerImpl mgr,
StatementBridge bridge)
Instantiates a new
CreateKeyspaceImpl object. |
| Modifier and Type | Method and Description |
|---|---|
protected StringBuilder |
buildQueryString()
Builds the query string.
|
protected StringBuilder[] |
buildQueryStrings()
Builds the query strings (one per underlying statement) to be collected if
the statement represents some a batch, sequence, or a group statement.
|
CreateKeyspace<T> |
ifNotExists() |
protected int |
simpleSize()
Gets the number of simple statements in this statement.
|
CreateKeyspace.Where<T> |
where() |
CreateKeyspace.Where<T> |
where(Clause clause) |
CreateKeyspace.Options<T> |
with() |
CreateKeyspace.Options<T> |
with(WithOptions option) |
appendGroupSubType, appendGroupType, appendOptions, buildStatements, clearKeyspace, disable, disableErrorTracing, disableTracing, enable, enableErrorTracing, enableErrorTracing, enableTracing, enableTracing, execute, executeAsync, executeAsync0, executeAsyncRaw, executeAsyncRaw0, executeRaw, getClassInfo, getClassInfoImpl, getConsistencyLevel, getContext, getDefaultTimestamp, getFetchSize, getKeyspace, getObject, getObjectClass, getPOJOContext, getQueryString, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, getUserData, init, init, isCounterOp, isDirty, isEnabled, isErrorTracing, isIdempotent, isTracing, setConsistencyLevel, setCounterOp, setDefaultTimestamp, setDirty, setDirty, setFetchSize, setIdempotent, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel, setUserData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClassInfo, getObjectClassdisable, disableErrorTracing, disableTracing, enable, enableErrorTracing, enableErrorTracing, enableTracing, enableTracing, execute, executeAsync, executeAsyncRaw, executeRaw, getConsistencyLevel, getDefaultTimestamp, getFetchSize, getKeyspace, getQueryString, getReadTimeoutMillis, getRetryPolicy, getSerialConsistencyLevel, getUserData, isEnabled, isErrorTracing, isIdempotent, isTracing, setConsistencyLevel, setDefaultTimestamp, setFetchSize, setIdempotent, setReadTimeoutMillis, setRetryPolicy, setSerialConsistencyLevel, setUserDataprotected final CreateKeyspaceImpl.OptionsImpl<T> with
public CreateKeyspaceImpl(ClassInfoImpl.Context context, StatementManagerImpl mgr, StatementBridge bridge)
CreateKeyspaceImpl 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 int simpleSize()
simpleSize in class StatementImpl<Void,VoidFuture,T>StatementImpl.simpleSize()protected StringBuilder[] buildQueryStrings()
buildQueryStrings in class StatementImpl<Void,VoidFuture,T>null if nothing to batchStatementImpl.buildQueryStrings()protected StringBuilder buildQueryString()
buildQueryString in class StatementImpl<Void,VoidFuture,T>null
if there is no query builtStatementImpl.buildQueryString()public CreateKeyspace<T> ifNotExists()
ifNotExists in interface CreateKeyspace<T>CreateKeyspace.ifNotExists()public CreateKeyspace.Options<T> with(WithOptions option)
with in interface CreateKeyspace<T>CreateKeyspace.with(org.helenus.driver.WithOptions)public CreateKeyspace.Options<T> with()
with in interface CreateKeyspace<T>CreateKeyspace.with()public CreateKeyspace.Where<T> where(Clause clause)
where in interface CreateKeyspace<T>CreateKeyspace.where(org.helenus.driver.Clause)public CreateKeyspace.Where<T> where()
where in interface CreateKeyspace<T>CreateKeyspace.where()Copyright (C) 2015-2017 The Helenus Driver Project Authors.