Class SimpleSqlGrammar

java.lang.Object
liquibase.util.grammar.SimpleSqlGrammar
All Implemented Interfaces:
SimpleSqlGrammarConstants

public class SimpleSqlGrammar extends Object implements SimpleSqlGrammarConstants
An Simple SQL Grammar.
  • Field Details

  • Constructor Details

    • SimpleSqlGrammar

      public SimpleSqlGrammar(InputStream stream)
      Constructor with InputStream.
    • SimpleSqlGrammar

      public SimpleSqlGrammar(InputStream stream, String encoding)
      Constructor with InputStream and supplied encoding
    • SimpleSqlGrammar

      public SimpleSqlGrammar(Reader stream)
      Constructor.
    • SimpleSqlGrammar

      public SimpleSqlGrammar(SimpleSqlGrammarTokenManager tm)
      Constructor with generated Token Manager.
  • Method Details

    • ReInit

      public void ReInit(InputStream stream)
      Reinitialise.
    • ReInit

      public void ReInit(InputStream stream, String encoding)
      Reinitialise.
    • ReInit

      public void ReInit(Reader stream)
      Reinitialise.
    • ReInit

      public void ReInit(SimpleSqlGrammarTokenManager tm)
      Reinitialise.
    • getNextToken

      public final Token getNextToken()
      Get the next Token.
    • getToken

      public final Token getToken(int index)
      Get the specific Token.
    • generateParseException

      public ParseException generateParseException()
      Generate ParseException.
    • trace_enabled

      public final boolean trace_enabled()
      Trace enabled.
    • enable_tracing

      public final void enable_tracing()
      Enable tracing.
    • disable_tracing

      public final void disable_tracing()
      Disable tracing.