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 ParsedType validator
columnName
public final ColumnIdentifier columnName
AlterTableStatement
public AlterTableStatement(CFName name,
AlterTableStatement.Type type,
ColumnIdentifier columnName,
ParsedType validator,
CFPropDefs cfProps)
checkAccess
public void checkAccess(ClientState state)
throws UnauthorizedException,
InvalidRequestException
- Description copied from interface:
CQLStatement
- Perform any access verification necessary for the statement.
- Parameters:
state
- the current client state
- Throws:
UnauthorizedException
InvalidRequestException
announceMigration
public void announceMigration()
throws RequestValidationException
- Specified by:
announceMigration
in class SchemaAlteringStatement
- Throws:
RequestValidationException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2012 The Apache Software Foundation