Package org.apache.cassandra.auth
Class AuthSchemaChangeListener
- java.lang.Object
-
- org.apache.cassandra.auth.AuthSchemaChangeListener
-
- All Implemented Interfaces:
SchemaChangeListener
public class AuthSchemaChangeListener extends java.lang.Object implements SchemaChangeListener
SchemaChangeListener implementation that cleans up permissions on dropped resources.
-
-
Constructor Summary
Constructors Constructor Description AuthSchemaChangeListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonDropAggregate(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, wait
-
Methods inherited from interface org.apache.cassandra.schema.SchemaChangeListener
onAlterAggregate, onAlterFunction, onAlterKeyspace, onAlterTable, onAlterType, onAlterView, onCreateAggregate, onCreateFunction, onCreateKeyspace, onCreateTable, onCreateType, onCreateView, onDropType, onDropView, onPreAlterTable, onPreAlterView
-
-
-
-
Method Detail
-
onDropKeyspace
public void onDropKeyspace(KeyspaceMetadata keyspace, boolean dropData)
- Specified by:
onDropKeyspacein interfaceSchemaChangeListener
-
onDropTable
public void onDropTable(TableMetadata table, boolean dropData)
- Specified by:
onDropTablein interfaceSchemaChangeListener
-
onDropFunction
public void onDropFunction(UDFunction function)
- Specified by:
onDropFunctionin interfaceSchemaChangeListener
-
onDropAggregate
public void onDropAggregate(UDAggregate aggregate)
- Specified by:
onDropAggregatein interfaceSchemaChangeListener
-
-