Package net.sf.jsqlparser.parser
Class AbstractJSqlParser<P>
- java.lang.Object
-
- net.sf.jsqlparser.parser.AbstractJSqlParser<P>
-
- Direct Known Subclasses:
CCJSqlParser
public abstract class AbstractJSqlParser<P> extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
errorRecovery
protected int
jdbcParameterIndex
protected java.util.List<ParseException>
parseErrors
-
Constructor Summary
Constructors Constructor Description AbstractJSqlParser()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
getAsBoolean(Feature f)
java.lang.Long
getAsLong(Feature f)
abstract FeatureConfiguration
getConfiguration()
java.util.List<ParseException>
getParseErrors()
abstract P
me()
void
setErrorRecovery(boolean errorRecovery)
P
withAllowComplexParsing(boolean allowComplexParsing)
P
withBackslashEscapeCharacter(boolean allowBackslashEscapeCharacter)
P
withFeature(Feature f, boolean enabled)
P
withFeature(Feature f, long value)
P
withSquareBracketQuotation(boolean allowSquareBracketQuotation)
P
withTimeOut(long timeOutMillSeconds)
P
withUnsupportedStatements(boolean allowUnsupportedStatements)
-
-
-
Field Detail
-
jdbcParameterIndex
protected int jdbcParameterIndex
-
errorRecovery
protected boolean errorRecovery
-
parseErrors
protected java.util.List<ParseException> parseErrors
-
-
Method Detail
-
withSquareBracketQuotation
public P withSquareBracketQuotation(boolean allowSquareBracketQuotation)
-
withAllowComplexParsing
public P withAllowComplexParsing(boolean allowComplexParsing)
-
withUnsupportedStatements
public P withUnsupportedStatements(boolean allowUnsupportedStatements)
-
withTimeOut
public P withTimeOut(long timeOutMillSeconds)
-
withBackslashEscapeCharacter
public P withBackslashEscapeCharacter(boolean allowBackslashEscapeCharacter)
-
getConfiguration
public abstract FeatureConfiguration getConfiguration()
-
me
public abstract P me()
-
getAsBoolean
public boolean getAsBoolean(Feature f)
-
getAsLong
public java.lang.Long getAsLong(Feature f)
-
setErrorRecovery
public void setErrorRecovery(boolean errorRecovery)
-
getParseErrors
public java.util.List<ParseException> getParseErrors()
-
-