Package io.debezium.relational.ddl
Interface DdlParserListener
-
- All Known Implementing Classes:
DdlChanges
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface DdlParserListener
An interface that can listen to various actions of aDdlParser. Every kind ofDdlParserListener.Eventhas atypethat makes it easier to implement aDdlParserListenerusing aswitchstatement. However, each kind ofDdlParserListener.Eventalso may have additional data associated with it.Clearly not all DDL statements processed by a
parserwill result in anevent.- Author:
- Randall Hauch
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classDdlParserListener.DatabaseAlteredEventAn event describing the altering of a database.static classDdlParserListener.DatabaseCreatedEventAn event describing the creation of a database.static classDdlParserListener.DatabaseDroppedEventAn event describing the dropping of a database.static classDdlParserListener.DatabaseEventThe base class for all table-related events.static classDdlParserListener.DatabaseSwitchedEventAn event describing the switching of a database.static classDdlParserListener.EventThe base class for all concrete events.static classDdlParserListener.EventTypeThe type of concreteDdlParserListener.Events.static classDdlParserListener.SetVariableEventAn event describing the setting of a variable.static classDdlParserListener.TableAlteredEventAn event describing the altering of a table.static classDdlParserListener.TableCreatedEventAn event describing the creation (or replacement) of a table.static classDdlParserListener.TableDroppedEventAn event describing the dropping of a table.static classDdlParserListener.TableEventThe base class for all table-related events.static classDdlParserListener.TableIndexCreatedEventAn event describing the creation of an index on a table.static classDdlParserListener.TableIndexDroppedEventAn event describing the dropping of an index on a table.static classDdlParserListener.TableIndexEventThe abstract base class for all index-related events.static classDdlParserListener.TableTruncatedEventAn event describing the truncating of a table.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(DdlParserListener.Event event)Handle a DDL event.
-
-
-
Method Detail
-
handle
void handle(DdlParserListener.Event event)
Handle a DDL event.- Parameters:
event- the DDL event; never null
-
-