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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionspublic KeyspaceMetadata apply(KeyspaceMetadata keyspace, TableMetadata table)
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 ResultMessage executeLocally(QueryState state, QueryOptions options)
CQLStatementexecuteLocally in interface CQLStatementstate - the current query statepublic ResultMessage execute(QueryState state, boolean locally)
Copyright © 2009-2020 The Apache Software Foundation