Class DdlParserListener.SetVariableEvent

    • Field Detail

      • variableName

        private final String variableName
      • value

        private final String value
      • databaseName

        private final String databaseName
      • order

        private final int order
    • Constructor Detail

      • SetVariableEvent

        public SetVariableEvent​(String variableName,
                                String value,
                                String currentDatabaseName,
                                int order,
                                String ddlStatement)
    • Method Detail

      • variableName

        public String variableName()
        Get the name of the variable that was set.
        Returns:
        the variable name; never null
      • variableValue

        public String 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