org.apache.cassandra.cql3.statements
Class AlterTableStatement
java.lang.Object
org.apache.cassandra.cql3.statements.ParsedStatement
org.apache.cassandra.cql3.statements.CFStatement
org.apache.cassandra.cql3.statements.SchemaAlteringStatement
org.apache.cassandra.cql3.statements.AlterTableStatement
- All Implemented Interfaces:
- CQLStatement
public class AlterTableStatement
- extends SchemaAlteringStatement
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
oType
public final AlterTableStatement.Type oType
validator
public final java.lang.String validator
columnName
public final ColumnIdentifier columnName
AlterTableStatement
public AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier columnName,
java.lang.String validator,
CFPropDefs cfProps)
checkAccess
public void checkAccess(ClientState state)
throws org.apache.cassandra.thrift.InvalidRequestException
- Description copied from interface:
CQLStatement
- Perform any access verification necessary for the statement.
- Parameters:
state
- the current client state
- Throws:
org.apache.cassandra.thrift.InvalidRequestException
announceMigration
public void announceMigration()
throws org.apache.cassandra.thrift.InvalidRequestException,
ConfigurationException
- Specified by:
announceMigration
in class SchemaAlteringStatement
- Throws:
org.apache.cassandra.thrift.InvalidRequestException
ConfigurationException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 The Apache Software Foundation