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.Event
has atype
that makes it easier to implement aDdlParserListener
using aswitch
statement. However, each kind ofDdlParserListener.Event
also may have additional data associated with it.Clearly not all DDL statements processed by a
parser
will result in anevent
.- Author:
- Randall Hauch
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
DdlParserListener.DatabaseAlteredEvent
An event describing the altering of a database.static class
DdlParserListener.DatabaseCreatedEvent
An event describing the creation of a database.static class
DdlParserListener.DatabaseDroppedEvent
An event describing the dropping of a database.static class
DdlParserListener.DatabaseEvent
The base class for all table-related events.static class
DdlParserListener.DatabaseSwitchedEvent
An event describing the switching of a database.static class
DdlParserListener.Event
The base class for all concrete events.static class
DdlParserListener.EventType
The type of concreteDdlParserListener.Event
s.static class
DdlParserListener.SetVariableEvent
An event describing the setting of a variable.static class
DdlParserListener.TableAlteredEvent
An event describing the altering of a table.static class
DdlParserListener.TableCreatedEvent
An event describing the creation (or replacement) of a table.static class
DdlParserListener.TableDroppedEvent
An event describing the dropping of a table.static class
DdlParserListener.TableEvent
The base class for all table-related events.static class
DdlParserListener.TableIndexCreatedEvent
An event describing the creation of an index on a table.static class
DdlParserListener.TableIndexDroppedEvent
An event describing the dropping of an index on a table.static class
DdlParserListener.TableIndexEvent
The abstract base class for all index-related events.static class
DdlParserListener.TableTruncatedEvent
An event describing the truncating of a table.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
handle(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
-
-