Package io.debezium.relational.ddl
Class DdlParserListener.TableIndexEvent
- java.lang.Object
-
- io.debezium.relational.ddl.DdlParserListener.Event
-
- io.debezium.relational.ddl.DdlParserListener.TableIndexEvent
-
- Direct Known Subclasses:
DdlParserListener.TableIndexCreatedEvent
,DdlParserListener.TableIndexDroppedEvent
- Enclosing interface:
- DdlParserListener
@Immutable public abstract static class DdlParserListener.TableIndexEvent extends DdlParserListener.Event
The abstract base class for all index-related events.
-
-
Constructor Summary
Constructors Constructor Description TableIndexEvent(DdlParserListener.EventType type, String indexName, TableId tableId, String ddlStatement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
indexName()
Get the name of the index affected by this event.TableId
tableId()
Get the identifier of the table to which the index applies.String
toString()
-
Methods inherited from class io.debezium.relational.ddl.DdlParserListener.Event
statement, type
-
-
-
-
Constructor Detail
-
TableIndexEvent
public TableIndexEvent(DdlParserListener.EventType type, String indexName, TableId tableId, String ddlStatement)
-
-
Method Detail
-
tableId
public TableId tableId()
Get the identifier of the table to which the index applies.- Returns:
- the table identifier; may be null if the index is not scoped to a single table
-
indexName
public String indexName()
Get the name of the index affected by this event.- Returns:
- the index name; never null
-
-