public final class AlterViewStatement extends AlterSchemaStatement
Modifier and Type | Class and Description |
---|---|
static class |
AlterViewStatement.Raw |
CQLStatement.SingleKeyspaceCqlStatement
SchemaTransformation.SchemaTransformationResult
keyspaceName
Constructor and Description |
---|
AlterViewStatement(java.lang.String keyspaceName,
java.lang.String viewName,
TableAttributes attrs,
boolean ifExists) |
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.
|
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.
|
execute, execute, executeLocally, keyspace
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
fixedTimestampMicros
public AlterViewStatement(java.lang.String keyspaceName, java.lang.String viewName, TableAttributes attrs, boolean ifExists)
public void validate(ClientState state)
CQLStatement
validate
in interface CQLStatement
validate
in class AlterSchemaStatement
state
- the current client statepublic Keyspaces apply(Keyspaces schema)
SchemaTransformation
Implementing methods should be side-effect free (outside of throwing exceptions if the transformation cannot be successfully applied to the provided schema).
schema
- Keyspaces to base the transformation onpublic void authorize(ClientState client)
CQLStatement
client
- the current client statepublic AuditLogContext getAuditLogContext()
CQLStatement
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2009- The Apache Software Foundation