Class DefaultValueParserListener

  • All Implemented Interfaces:
    MySqlParserListener, org.antlr.v4.runtime.tree.ParseTreeListener

    public class DefaultValueParserListener
    extends MySqlParserBaseListener
    Parser listener that is parsing default value definition part of MySQL statements.
    Author:
    Jiri Pechanec
    • Field Detail

      • convertDefault

        private final boolean convertDefault
        Whether to convert the column's default value into the corresponding schema type or not. This is done for column definitions of ALTER TABLE statements but not for CREATE TABLE. In case of the latter, the default value conversion is handled by the CREATE TABLE statement listener itself, as a default character set given at the table level might have to be applied.
      • converted

        private boolean converted