public abstract class SchemaChangeListenerBase extends Object implements SchemaChangeListener
SchemaChangeListener
.Constructor and Description |
---|
SchemaChangeListenerBase() |
Modifier and Type | Method and Description |
---|---|
void |
onAggregateAdded(AggregateMetadata aggregate)
Called when a user-defined aggregate has been added.
|
void |
onAggregateChanged(AggregateMetadata current,
AggregateMetadata previous)
Called when a user-defined aggregate has changed.
|
void |
onAggregateRemoved(AggregateMetadata aggregate)
Called when a user-defined aggregate has been removed.
|
void |
onFunctionAdded(FunctionMetadata function)
Called when a user-defined function has been added.
|
void |
onFunctionChanged(FunctionMetadata current,
FunctionMetadata previous)
Called when a user-defined function has changed.
|
void |
onFunctionRemoved(FunctionMetadata function)
Called when a user-defined function has been removed.
|
void |
onKeyspaceAdded(KeyspaceMetadata keyspace)
Called when a keyspace has been added.
|
void |
onKeyspaceChanged(KeyspaceMetadata current,
KeyspaceMetadata previous)
Called when a keyspace has changed.
|
void |
onKeyspaceRemoved(KeyspaceMetadata keyspace)
Called when a keyspace has been removed.
|
void |
onMaterializedViewAdded(MaterializedViewMetadata view)
Called when a materialized view has been added.
|
void |
onMaterializedViewChanged(MaterializedViewMetadata current,
MaterializedViewMetadata previous)
Called when a materialized view has changed.
|
void |
onMaterializedViewRemoved(MaterializedViewMetadata view)
Called when a materialized view has been removed.
|
void |
onRegister(Cluster cluster)
Gets invoked when the listener is registered with a cluster.
|
void |
onTableAdded(TableMetadata table)
Called when a table has been added.
|
void |
onTableChanged(TableMetadata current,
TableMetadata previous)
Called when a table has changed.
|
void |
onTableRemoved(TableMetadata table)
Called when a table has been removed.
|
void |
onUnregister(Cluster cluster)
Gets invoked when the listener is unregistered from a cluster, or at cluster shutdown if the
tracker was not unregistered.
|
void |
onUserTypeAdded(UserType type)
Called when a user-defined type has been added.
|
void |
onUserTypeChanged(UserType current,
UserType previous)
Called when a user-defined type has changed.
|
void |
onUserTypeRemoved(UserType type)
Called when a user-defined type has been removed.
|
public void onKeyspaceAdded(KeyspaceMetadata keyspace)
SchemaChangeListener
onKeyspaceAdded
in interface SchemaChangeListener
keyspace
- the keyspace that has been added.public void onKeyspaceRemoved(KeyspaceMetadata keyspace)
SchemaChangeListener
onKeyspaceRemoved
in interface SchemaChangeListener
keyspace
- the keyspace that has been removed.public void onKeyspaceChanged(KeyspaceMetadata current, KeyspaceMetadata previous)
SchemaChangeListener
onKeyspaceChanged
in interface SchemaChangeListener
current
- the keyspace that has changed, in its current form (after the change).previous
- the keyspace that has changed, in its previous form (before the change).public void onTableAdded(TableMetadata table)
SchemaChangeListener
onTableAdded
in interface SchemaChangeListener
table
- the table that has been newly added.public void onTableRemoved(TableMetadata table)
SchemaChangeListener
onTableRemoved
in interface SchemaChangeListener
table
- the table that has been removed.public void onTableChanged(TableMetadata current, TableMetadata previous)
SchemaChangeListener
onTableChanged
in interface SchemaChangeListener
current
- the table that has changed, in its current form (after the change).previous
- the table that has changed, in its previous form (before the change).public void onUserTypeAdded(UserType type)
SchemaChangeListener
onUserTypeAdded
in interface SchemaChangeListener
type
- the type that has been newly added.public void onUserTypeRemoved(UserType type)
SchemaChangeListener
onUserTypeRemoved
in interface SchemaChangeListener
type
- the type that has been removed.public void onUserTypeChanged(UserType current, UserType previous)
SchemaChangeListener
onUserTypeChanged
in interface SchemaChangeListener
current
- the type that has changed, in its current form (after the change).previous
- the type that has changed, in its previous form (before the change).public void onFunctionAdded(FunctionMetadata function)
SchemaChangeListener
onFunctionAdded
in interface SchemaChangeListener
function
- the function that has been newly added.public void onFunctionRemoved(FunctionMetadata function)
SchemaChangeListener
onFunctionRemoved
in interface SchemaChangeListener
function
- the function that has been removed.public void onFunctionChanged(FunctionMetadata current, FunctionMetadata previous)
SchemaChangeListener
onFunctionChanged
in interface SchemaChangeListener
current
- the function that has changed, in its current form (after the change).previous
- the function that has changed, in its previous form (before the change).public void onAggregateAdded(AggregateMetadata aggregate)
SchemaChangeListener
onAggregateAdded
in interface SchemaChangeListener
aggregate
- the aggregate that has been newly added.public void onAggregateRemoved(AggregateMetadata aggregate)
SchemaChangeListener
onAggregateRemoved
in interface SchemaChangeListener
aggregate
- the aggregate that has been removed.public void onAggregateChanged(AggregateMetadata current, AggregateMetadata previous)
SchemaChangeListener
onAggregateChanged
in interface SchemaChangeListener
current
- the aggregate that has changed, in its current form (after the change).previous
- the aggregate that has changed, in its previous form (before the change).public void onMaterializedViewAdded(MaterializedViewMetadata view)
SchemaChangeListener
onMaterializedViewAdded
in interface SchemaChangeListener
view
- the materialized view that has been newly added.public void onMaterializedViewRemoved(MaterializedViewMetadata view)
SchemaChangeListener
onMaterializedViewRemoved
in interface SchemaChangeListener
view
- the materialized view that has been removed.public void onMaterializedViewChanged(MaterializedViewMetadata current, MaterializedViewMetadata previous)
SchemaChangeListener
onMaterializedViewChanged
in interface SchemaChangeListener
current
- the materialized view that has changed, in its current form (after the change).previous
- the materialized view that has changed, in its previous form (before the
change).public void onRegister(Cluster cluster)
SchemaChangeListener
onRegister
in interface SchemaChangeListener
cluster
- the cluster that this tracker is registered with.public void onUnregister(Cluster cluster)
SchemaChangeListener
onUnregister
in interface SchemaChangeListener
cluster
- the cluster that this tracker was registered with.Copyright © 2012–2024. All rights reserved.