@Immutable public abstract static class DdlParserListener.Event extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
statement |
private DdlParserListener.EventType |
type |
| Constructor and Description |
|---|
Event(DdlParserListener.EventType type,
String ddlStatement) |
| Modifier and Type | Method and Description |
|---|---|
String |
statement()
Get the DDL statement associated with this event.
|
DdlParserListener.EventType |
type()
Get the
type of event. |
private final String statement
private final DdlParserListener.EventType type
public Event(DdlParserListener.EventType type, String ddlStatement)
public DdlParserListener.EventType type()
type of event. This is useful when switching on the kind of event.public String statement()
Copyright © 2019 JBoss by Red Hat. All rights reserved.