java.lang.Object
com.espertech.esper.compiler.internal.util.SQLLexer

public class SQLLexer extends Object
  • Constructor Details

    • SQLLexer

      public SQLLexer()
  • Method Details

    • lexSampleSQL

      public static String lexSampleSQL(String querySQL) throws com.espertech.esper.common.internal.epl.expression.core.ExprValidationException
      Lexes the sample SQL and inserts a "where 1=0" where-clause.
      Parameters:
      querySQL - to inspect using lexer
      Returns:
      sample SQL with where-clause inserted
      Throws:
      com.espertech.esper.common.internal.epl.expression.core.ExprValidationException - to indicate a lexer problem