@FunctionalInterface public interface DdlParserListener
LegacyDdlParser. 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.
| Modifier and Type | Interface and 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.Event
The base class for all concrete events.
|
static class |
DdlParserListener.EventType
The type of concrete
DdlParserListener.Events. |
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handle(DdlParserListener.Event event)
Handle a DDL event.
|
void handle(DdlParserListener.Event event)
event - the DDL event; never nullCopyright © 2018 JBoss by Red Hat. All rights reserved.