java.lang.Object
org.apache.shardingsphere.infra.executor.sql.execute.engine.driver.jdbc.sane.mysql.MySQLDefaultVariable

public final class MySQLDefaultVariable extends Object
MySQL default variable.
  • Constructor Details

    • MySQLDefaultVariable

      public MySQLDefaultVariable()
  • Method Details

    • containsVariable

      public static boolean containsVariable(String variableName)
      Judge whether contains variable.
      Parameters:
      variableName - variable name
      Returns:
      contains variable or not
    • getVariable

      public static String getVariable(String variableName)
      Get variable value.
      Parameters:
      variableName - variable name
      Returns:
      variable value