public interface SchemaChangeListener
| Modifier and Type | Method and Description |
|---|---|
void |
onColumnsAdded(String schemaName,
GridQueryTypeDescriptor typeDesc,
GridCacheContextInfo<?,?> cacheInfo,
List<QueryField> cols)
Callback on columns added.
|
void |
onColumnsDropped(String schemaName,
GridQueryTypeDescriptor typeDesc,
GridCacheContextInfo<?,?> cacheInfo,
List<String> cols)
Callback on columns dropped.
|
void |
onFunctionCreated(String schemaName,
String name,
boolean deterministic,
Method method)
Callback on function creation.
|
void |
onIndexCreated(String schemaName,
String tblName,
String idxName,
IndexDescriptor idxDesc)
Callback on index creation.
|
void |
onIndexDropped(String schemaName,
String tblName,
String idxName)
Callback on index drop.
|
void |
onIndexRebuildFinished(String schemaName,
String tblName)
Callback on index rebuild finished for all indexes in the table.
|
void |
onIndexRebuildStarted(String schemaName,
String tblName)
Callback on index rebuild started for all indexes in the table.
|
void |
onSchemaCreated(String schemaName)
Callback method.
|
void |
onSchemaDropped(String schemaName)
Callback method.
|
void |
onSqlTypeCreated(String schemaName,
GridQueryTypeDescriptor typeDesc,
GridCacheContextInfo<?,?> cacheInfo)
Callback method.
|
void |
onSqlTypeDropped(String schemaName,
GridQueryTypeDescriptor typeDesc,
boolean destroy)
Callback method.
|
void |
onSystemViewCreated(String schemaName,
SystemView<?> sysView)
Callback method.
|
void onSchemaCreated(String schemaName)
schemaName - Schema name.void onSchemaDropped(String schemaName)
schemaName - Schema name.void onSqlTypeCreated(String schemaName, GridQueryTypeDescriptor typeDesc, GridCacheContextInfo<?,?> cacheInfo)
schemaName - Schema name.typeDesc - Type descriptor.cacheInfo - Cache info.void onColumnsAdded(String schemaName, GridQueryTypeDescriptor typeDesc, GridCacheContextInfo<?,?> cacheInfo, List<QueryField> cols)
schemaName - Schema name.typeDesc - Type descriptor.cacheInfo - Cache info.cols - Added columns' names.void onColumnsDropped(String schemaName, GridQueryTypeDescriptor typeDesc, GridCacheContextInfo<?,?> cacheInfo, List<String> cols)
schemaName - Schema name.typeDesc - Type descriptor.cacheInfo - Cache info.cols - Dropped columns' names.void onSqlTypeDropped(String schemaName, GridQueryTypeDescriptor typeDesc, boolean destroy)
schemaName - Schema name.typeDesc - Type descriptor.destroy - Cache destroy flag.void onIndexCreated(String schemaName, String tblName, String idxName, IndexDescriptor idxDesc)
schemaName - Schema name.tblName - Table name.idxName - Index name.idxDesc - Index descriptor.void onIndexDropped(String schemaName, String tblName, String idxName)
schemaName - Schema name.tblName - Table name.idxName - Index name.void onIndexRebuildStarted(String schemaName, String tblName)
schemaName - Schema name.tblName - Table name.void onIndexRebuildFinished(String schemaName, String tblName)
schemaName - Schema name.tblName - Table name.void onFunctionCreated(String schemaName, String name, boolean deterministic, Method method)
schemaName - Schema name.name - Function name.deterministic - Specifies if the function is deterministic (result depends only on input parameters)method - Public static method, implementing this function.void onSystemViewCreated(String schemaName, SystemView<?> sysView)
schemaName - Schema name.sysView - System view.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023