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
Modifier and TypeInterfaceDescriptionstatic class
An event describing the altering of a database.static class
An event describing the creation of a database.static class
An event describing the dropping of a database.static class
The base class for all table-related events.static class
An event describing the switching of a database.static class
The base class for all concrete events.static enum
The type of concreteDdlParserListener.Event
s.static class
An event describing the setting of a variable.static class
An event describing the altering of a table.static class
An event describing the creation (or replacement) of a table.static class
An event describing the dropping of a table.static class
The base class for all table-related events.static class
An event describing the creation of an index on a table.static class
An event describing the dropping of an index on a table.static class
The abstract base class for all index-related events.static class
An event describing the truncating of a table. -
Method Summary
-
Method Details
-
handle
Handle a DDL event.- Parameters:
event
- the DDL event; never null
-