public static class AlterTableStatement.AlterColumn extends AlterTableStatement
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
keyspaceName |
tableName
Modifier and Type | Method and Description |
---|---|
KeyspaceMetadata |
apply(KeyspaceMetadata keyspace,
TableMetadata table) |
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.
|
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
apply, authorize, getAuditLogContext, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
public KeyspaceMetadata apply(KeyspaceMetadata keyspace, TableMetadata table)
public final void validate(ClientState state)
CQLStatement
validate
in interface CQLStatement
state
- the current client statepublic ResultMessage execute(QueryState state, QueryOptions options, long queryStartNanoTime)
CQLStatement
execute
in interface CQLStatement
state
- the current query stateoptions
- options for this query (consistency, variables, pageSize, ...)queryStartNanoTime
- the timestamp returned by System.nanoTime() when this statement was receivedpublic ResultMessage executeLocally(QueryState state, QueryOptions options)
CQLStatement
executeLocally
in interface CQLStatement
state
- the current query statepublic ResultMessage execute(QueryState state, boolean locally)
Copyright © 2009-2020 The Apache Software Foundation