public abstract class AlterTypeStatement
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AlterTypeStatement.Raw |
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
keyspaceName |
protected java.lang.String |
typeName |
| Constructor and Description |
|---|
AlterTypeStatement(java.lang.String keyspaceName,
java.lang.String typeName) |
| Modifier and Type | Method and Description |
|---|---|
Keyspaces |
apply(Keyspaces schema)
Apply a statement transformation to a schema snapshot.
|
void |
authorize(ClientState client)
Perform any access verification necessary for the statement.
|
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.
|
AuditLogContext |
getAuditLogContext()
Provides the context needed for audit logging statements.
|
java.lang.String |
toString() |
void |
validate(ClientState state)
Perform additional validation required by the statment.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionsprotected final java.lang.String typeName
protected final java.lang.String keyspaceName
public AlterTypeStatement(java.lang.String keyspaceName,
java.lang.String typeName)
public void authorize(ClientState client)
CQLStatementclient - the current client statepublic Keyspaces apply(Keyspaces schema)
SchemaTransformationschema - Keyspaces to base the transformation onpublic AuditLogContext getAuditLogContext()
CQLStatementpublic java.lang.String toString()
toString in class java.lang.Objectpublic 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