Class AlterTypeStatement
java.lang.Object
org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
org.apache.cassandra.cql3.statements.schema.AlterTypeStatement
- All Implemented Interfaces:
CQLStatement,CQLStatement.SingleKeyspaceCqlStatement,SchemaTransformation
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQLStatement
CQLStatement.SingleKeyspaceCqlStatementNested classes/interfaces inherited from interface org.apache.cassandra.schema.SchemaTransformation
SchemaTransformation.SchemaTransformationResult -
Field Summary
FieldsFields inherited from class org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
keyspaceName, state -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionApply a statement transformation to a schema snapshot.voidauthorize(ClientState client) Perform any access verification necessary for the statement.Provides the context needed for audit logging statements.toString()Methods inherited from class org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
execute, execute, executeLocally, keyspace, validate, validateDefaultTimeToLiveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.cassandra.cql3.CQLStatement
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditionsMethods inherited from interface org.apache.cassandra.schema.SchemaTransformation
fixedTimestampMicros
-
Field Details
-
typeName
-
ifExists
protected final boolean ifExists
-
-
Constructor Details
-
AlterTypeStatement
-
-
Method Details
-
authorize
Description copied from interface:CQLStatementPerform any access verification necessary for the statement.- Parameters:
client- the current client state
-
apply
Description copied from interface:SchemaTransformationApply a statement transformation to a schema snapshot.Implementing methods should be side-effect free (outside of throwing exceptions if the transformation cannot be successfully applied to the provided schema).
- Parameters:
schema- Keyspaces to base the transformation on- Returns:
- Keyspaces transformed by the statement
-
getAuditLogContext
Description copied from interface:CQLStatementProvides the context needed for audit logging statements. -
toString
-