Package org.apache.cassandra.auth
Class AuthSchemaChangeListener
java.lang.Object
org.apache.cassandra.auth.AuthSchemaChangeListener
- All Implemented Interfaces:
SchemaChangeListener
SchemaChangeListener implementation that cleans up permissions on dropped resources.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonDropAggregate(UDAggregate aggregate) voidonDropFunction(UDFunction function) voidonDropKeyspace(KeyspaceMetadata keyspace, boolean dropData) voidonDropTable(TableMetadata table, boolean dropData) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cassandra.schema.SchemaChangeListener
onAlterAggregate, onAlterFunction, onAlterKeyspace, onAlterTable, onAlterType, onAlterView, onCreateAggregate, onCreateFunction, onCreateKeyspace, onCreateTable, onCreateType, onCreateView, onDropType, onDropView, onPreAlterTable, onPreAlterView
-
Constructor Details
-
AuthSchemaChangeListener
public AuthSchemaChangeListener()
-
-
Method Details
-
onDropKeyspace
- Specified by:
onDropKeyspacein interfaceSchemaChangeListener
-
onDropTable
- Specified by:
onDropTablein interfaceSchemaChangeListener
-
onDropFunction
- Specified by:
onDropFunctionin interfaceSchemaChangeListener
-
onDropAggregate
- Specified by:
onDropAggregatein interfaceSchemaChangeListener
-