public abstract class AlterSchemaStatement extends java.lang.Object implements CQLStatement.SingleKeyspaceCqlStatement, SchemaTransformation
CQLStatement.Raw, CQLStatement.SingleKeyspaceCqlStatement| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
keyspaceName |
| Modifier | Constructor and Description |
|---|---|
protected |
AlterSchemaStatement(java.lang.String keyspaceName) |
| Modifier and Type | Method and Description |
|---|---|
ResultMessage |
execute(QueryState state,
boolean locally) |
ResultMessage |
execute(QueryState state,
QueryOptions options,
long queryStartNanoTime)
Execute the statement and return the resulting result or null if there is no result.
|
ResultMessage |
executeLocally(QueryState state,
QueryOptions options)
Variant of execute used for internal query against the system tables, and thus only query the local node.
|
java.lang.String |
keyspace() |
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitauthorize, getAuditLogContext, getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionsapplyprotected AlterSchemaStatement(java.lang.String keyspaceName)
public final void validate(ClientState state)
CQLStatementvalidate in interface CQLStatementstate - the current client statepublic ResultMessage execute(QueryState state, QueryOptions options, long queryStartNanoTime)
CQLStatementexecute in interface CQLStatementstate - the current query stateoptions - options for this query (consistency, variables, pageSize, ...)queryStartNanoTime - the timestamp returned by System.nanoTime() when this statement was receivedpublic java.lang.String keyspace()
keyspace in interface CQLStatement.SingleKeyspaceCqlStatementpublic ResultMessage executeLocally(QueryState state, QueryOptions options)
CQLStatementexecuteLocally in interface CQLStatementstate - the current query statepublic ResultMessage execute(QueryState state, boolean locally)
Copyright © 2009-2022 The Apache Software Foundation