@Immutable public abstract static class DdlParserListener.TableEvent extends DdlParserListener.Event
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isView |
private TableId |
tableId |
| Constructor and Description |
|---|
TableEvent(DdlParserListener.EventType type,
TableId tableId,
String ddlStatement,
boolean isView) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isView()
Determine whether the target of the event is a view rather than a table.
|
TableId |
tableId()
Get the identifier of the primary table affected by this event.
|
String |
toString() |
statement, typeprivate final TableId tableId
private final boolean isView
public TableEvent(DdlParserListener.EventType type, TableId tableId, String ddlStatement, boolean isView)
public TableId tableId()
public boolean isView()
true if the target is a view, or false if the target is a tableCopyright © 2018 JBoss by Red Hat. All rights reserved.