Class AlterTableStatement.MaskColumn
- java.lang.Object
-
- org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
-
- org.apache.cassandra.cql3.statements.schema.AlterTableStatement
-
- org.apache.cassandra.cql3.statements.schema.AlterTableStatement.MaskColumn
-
- All Implemented Interfaces:
CQLStatement
,CQLStatement.SingleKeyspaceCqlStatement
,SchemaTransformation
- Enclosing class:
- AlterTableStatement
public static class AlterTableStatement.MaskColumn extends AlterTableStatement
ALTER TABLE [IF EXISTS] <table> ALTER [IF EXISTS] <column> ( MASKED WITH <newMask> | DROP MASKED )
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.cassandra.cql3.statements.schema.AlterTableStatement
AlterTableStatement.AlterColumn, AlterTableStatement.MaskColumn, AlterTableStatement.Raw
-
Nested classes/interfaces inherited from interface org.apache.cassandra.cql3.CQLStatement
CQLStatement.SingleKeyspaceCqlStatement
-
Nested classes/interfaces inherited from interface org.apache.cassandra.schema.SchemaTransformation
SchemaTransformation.SchemaTransformationResult
-
-
Field Summary
-
Fields inherited from class org.apache.cassandra.cql3.statements.schema.AlterTableStatement
state, tableName
-
Fields inherited from class org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
keyspaceName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KeyspaceMetadata
apply(KeyspaceMetadata keyspace, TableMetadata table)
void
validate(ClientState state)
Perform additional validation required by the statment.-
Methods inherited from class org.apache.cassandra.cql3.statements.schema.AlterTableStatement
apply, authorize, getAuditLogContext, toString
-
Methods inherited from class org.apache.cassandra.cql3.statements.schema.AlterSchemaStatement
execute, execute, executeLocally, keyspace, validateDefaultTimeToLive
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.cassandra.cql3.CQLStatement
getBindVariables, getFunctions, getPartitionKeyBindVariableIndexes, hasConditions
-
Methods inherited from interface org.apache.cassandra.schema.SchemaTransformation
fixedTimestampMicros
-
-
-
-
Method Detail
-
validate
public void validate(ClientState state)
Description copied from interface:CQLStatement
Perform additional validation required by the statment. To be overriden by subclasses if needed.- Specified by:
validate
in interfaceCQLStatement
- Overrides:
validate
in classAlterTableStatement
- Parameters:
state
- the current client state
-
apply
public KeyspaceMetadata apply(KeyspaceMetadata keyspace, TableMetadata table)
-
-