public enum SQLParserFeature extends Enum<SQLParserFeature>
Enum Constant and Description |
---|
EnableSQLBinaryOpExprGroup |
KeepComments |
KeepInsertValueClauseOriginalString |
OptimizedForParameterized |
SkipComments |
StrictForWall |
UseInsertColumnsCache |
Modifier and Type | Field and Description |
---|---|
int |
mask |
Modifier and Type | Method and Description |
---|---|
static int |
config(int features,
SQLParserFeature feature,
boolean state) |
static boolean |
isEnabled(int features,
SQLParserFeature feature) |
static int |
of(SQLParserFeature... features) |
static SQLParserFeature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SQLParserFeature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SQLParserFeature KeepInsertValueClauseOriginalString
public static final SQLParserFeature UseInsertColumnsCache
public static final SQLParserFeature EnableSQLBinaryOpExprGroup
public static final SQLParserFeature OptimizedForParameterized
public static final SQLParserFeature KeepComments
public static final SQLParserFeature SkipComments
public static final SQLParserFeature StrictForWall
public static SQLParserFeature[] values()
for (SQLParserFeature c : SQLParserFeature.values()) System.out.println(c);
public static SQLParserFeature valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static boolean isEnabled(int features, SQLParserFeature feature)
public static int config(int features, SQLParserFeature feature, boolean state)
public static int of(SQLParserFeature... features)
Copyright © 2013–2017 Alibaba Group. All rights reserved.