Package com.alibaba.druid.sql.parser
Enum DialectFeature.ParserFeature
java.lang.Object
java.lang.Enum<DialectFeature.ParserFeature>
com.alibaba.druid.sql.parser.DialectFeature.ParserFeature
- All Implemented Interfaces:
DialectFeature.Feature,Serializable,Comparable<DialectFeature.ParserFeature>,java.lang.constant.Constable
- Enclosing class:
DialectFeature
public static enum DialectFeature.ParserFeature
extends Enum<DialectFeature.ParserFeature>
implements DialectFeature.Feature
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionlongconfig(long features, boolean state) longgetMask()booleanisEnabled(long features) static DialectFeature.ParserFeatureReturns the enum constant of this type with the specified name.static DialectFeature.ParserFeature[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
AcceptUnion
-
QueryRestSemi
-
AsofJoin
-
GlobalJoin
-
JoinAt
-
JoinRightTableWith
-
JoinRightTableFrom
-
JoinRightTableAlias
-
PostNaturalJoin
-
MultipleJoinOn
-
UDJ
-
TwoConsecutiveUnion
-
QueryTable
-
GroupByAll
-
RewriteGroupByCubeRollupToFunction
-
GroupByPostDesc
-
GroupByItemOrder
-
SQLDateExpr
-
SQLTimestampExpr
-
PrimaryVariantColon
-
PrimaryBangBangSupport
-
PrimaryTwoConsecutiveSet
-
PrimaryLbraceOdbcEscape
-
ParseAllIdentifier
-
PrimaryRestCommaAfterLparen
-
InRestSpecificOperation
-
AdditiveRestPipesAsConcat
-
ParseAssignItemRparenCommaSetReturn
-
ParseAssignItemEqSemiReturn
-
ParseAssignItemSkip
-
ParseAssignItemEqeq
-
ParseSelectItemPrefixX
-
ParseLimitBy
-
ParseStatementListWhen
-
ParseStatementListSelectUnsupportedSyntax
-
ParseStatementListUpdatePlanCache
-
ParseStatementListRollbackReturn
-
ParseStatementListCommitReturn
-
ParseStatementListLparenContinue
-
ParseRevokeFromUser
-
ParseDropTableTables
-
ParseCreateSql
-
CreateTableBodySupplemental
-
TableAliasConnectWhere
-
TableAliasAsof
-
TableAliasLock
-
TableAliasPartition
-
TableAliasTable
-
TableAliasBetween
-
TableAliasRest
-
AsCommaFrom
-
AsSkip
-
AsSequence
-
AsDatabase
-
AsDefault
-
AliasLiteralFloat
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getMask
public long getMask()- Specified by:
getMaskin interfaceDialectFeature.Feature
-
isEnabled
public boolean isEnabled(long features) - Specified by:
isEnabledin interfaceDialectFeature.Feature
-
config
public long config(long features, boolean state) - Specified by:
configin interfaceDialectFeature.Feature
-