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.
An interface that can listen to various actions of a
DdlParser. Every kind of DdlParserListener.Event has a type that makes it easier to implement a DdlParserListener using a switch statement. However, each kind of
DdlParserListener.Event also may have additional data associated with it.
Clearly not all DDL statements processed by a parser will result in an event.
- Author:
- Randall Hauch
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classAn event describing the altering of a database.static classAn event describing the creation of a database.static classAn event describing the dropping of a database.static classThe base class for all table-related events.static classAn event describing the switching of a database.static classThe base class for all concrete events.static enumThe type of concreteDdlParserListener.Events.static classAn event describing the setting of a variable.static classAn event describing the altering of a table.static classAn event describing the creation (or replacement) of a table.static classAn event describing the dropping of a table.static classThe base class for all table-related events.static classAn event describing the creation of an index on a table.static classAn event describing the dropping of an index on a table.static classThe abstract base class for all index-related events.static classAn event describing the truncating of a table. -
Method Summary
-
Method Details
-
handle
Handle a DDL event.- Parameters:
event- the DDL event; never null
-