Package io.debezium.relational.ddl
Class DdlParserListener.SetVariableEvent
java.lang.Object
io.debezium.relational.ddl.DdlParserListener.Event
io.debezium.relational.ddl.DdlParserListener.SetVariableEvent
- Enclosing interface:
- DdlParserListener
An event describing the setting of a variable.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSetVariableEvent
(String variableName, String value, String currentDatabaseName, int order, String ddlStatement) -
Method Summary
Methods inherited from class io.debezium.relational.ddl.DdlParserListener.Event
statement, type
-
Field Details
-
variableName
-
value
-
databaseName
-
order
private final int order
-
-
Constructor Details
-
SetVariableEvent
-
-
Method Details
-
variableName
Get the name of the variable that was set.- Returns:
- the variable name; never null
-
variableValue
Get the value of the variable that was set.- Returns:
- the variable value; may be null
-
order
public int order()In case of multiple vars set in the same SET statement the order of the variable in the statement.- Returns:
- the variable order
-
databaseName
-
toString
-