public abstract class SchemaAlteringStatement extends CFStatement implements CQLStatement
ParsedStatement.PreparedcfName| Modifier | Constructor and Description |
|---|---|
protected |
SchemaAlteringStatement() |
protected |
SchemaAlteringStatement(CFName name) |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
announceMigration(boolean isLocalOnly)
Announces the migration to other nodes in the cluster.
|
abstract Event.SchemaChange |
changeEvent() |
ResultMessage |
execute(QueryState state,
QueryOptions options)
Execute the statement and return the resulting result or null if there is no result.
|
ResultMessage |
executeInternal(QueryState state,
QueryOptions options)
Variante of execute used for internal query against the system tables, and thus only query the local node.
|
int |
getBoundTerms()
Returns the number of bound terms in this statement.
|
ParsedStatement.Prepared |
prepare() |
void |
prepareKeyspace(ClientState state) |
columnFamily, keyspace, prepareKeyspacegetBoundVariables, setBoundVariablesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckAccess, validateprotected SchemaAlteringStatement()
protected SchemaAlteringStatement(CFName name)
public int getBoundTerms()
CQLStatementgetBoundTerms in interface CQLStatementpublic void prepareKeyspace(ClientState state) throws InvalidRequestException
prepareKeyspace in class CFStatementInvalidRequestExceptionpublic ParsedStatement.Prepared prepare()
prepare in class ParsedStatementpublic abstract Event.SchemaChange changeEvent()
public abstract boolean announceMigration(boolean isLocalOnly)
throws RequestValidationException
RequestValidationExceptionpublic ResultMessage execute(QueryState state, QueryOptions options) throws RequestValidationException
CQLStatementexecute in interface CQLStatementstate - the current query stateoptions - options for this query (consistency, variables, pageSize, ...)RequestValidationExceptionpublic ResultMessage executeInternal(QueryState state, QueryOptions options)
CQLStatementexecuteInternal in interface CQLStatementstate - the current query stateCopyright © 2015 The Apache Software Foundation