Class SQLLexer
java.lang.Object
com.espertech.esper.compiler.internal.util.SQLLexer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
lexSampleSQL
(String querySQL) Lexes the sample SQL and inserts a "where 1=0" where-clause.
-
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
-