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, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionspublic AlterTableStatement(java.lang.String keyspaceName,
java.lang.String tableName)
public Keyspaces apply(Keyspaces schema) throws java.net.UnknownHostException
SchemaTransformationschema - Keyspaces to base the transformation onjava.net.UnknownHostExceptionpublic void authorize(ClientState client)
CQLStatementclient - the current client statepublic AuditLogContext getAuditLogContext()
CQLStatementpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2022 The Apache Software Foundation