public abstract class AlterTableStatement extends AlterSchemaStatement
Modifier and Type | Class and Description |
---|---|
static class |
AlterTableStatement.AlterColumn
ALTER TABLE ALTER
|
static class |
AlterTableStatement.Raw |
CQLStatement.SingleKeyspaceCqlStatement
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
tableName |
keyspaceName
Constructor and Description |
---|
AlterTableStatement(java.lang.String keyspaceName,
java.lang.String tableName) |
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() |
execute, execute, executeLocally, keyspace, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
public AlterTableStatement(java.lang.String keyspaceName, java.lang.String tableName)
public Keyspaces apply(Keyspaces schema) throws java.net.UnknownHostException
SchemaTransformation
schema
- Keyspaces to base the transformation onjava.net.UnknownHostException
public 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