Enum FlinkSqlConformance
- All Implemented Interfaces:
Serializable,Comparable<FlinkSqlConformance>,org.apache.calcite.sql.validate.SqlConformance
public enum FlinkSqlConformance
extends Enum<FlinkSqlConformance>
implements org.apache.calcite.sql.validate.SqlConformance
Sql conformance used for flink to set specific sql dialect parser. *
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields inherited from interface org.apache.calcite.sql.validate.SqlConformance
DEFAULT, ORACLE_10, PRAGMATIC_2003, PRAGMATIC_99, STRICT_2003, STRICT_92, STRICT_99 -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanorg.apache.calcite.sql.fun.SqlLibrarybooleanbooleanstatic FlinkSqlConformanceReturns the enum constant of this type with the specified name.static FlinkSqlConformance[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Calcite's default SQL behavior.
-
-
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
-
isLiberal
public boolean isLiberal()- Specified by:
isLiberalin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowCharLiteralAlias
public boolean allowCharLiteralAlias()- Specified by:
allowCharLiteralAliasin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isGroupByAlias
public boolean isGroupByAlias()- Specified by:
isGroupByAliasin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isGroupByOrdinal
public boolean isGroupByOrdinal()- Specified by:
isGroupByOrdinalin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isHavingAlias
public boolean isHavingAlias()- Specified by:
isHavingAliasin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isSortByOrdinal
public boolean isSortByOrdinal()- Specified by:
isSortByOrdinalin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isSortByAlias
public boolean isSortByAlias()- Specified by:
isSortByAliasin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isSortByAliasObscures
public boolean isSortByAliasObscures()- Specified by:
isSortByAliasObscuresin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isFromRequired
public boolean isFromRequired()- Specified by:
isFromRequiredin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
splitQuotedTableName
public boolean splitQuotedTableName()- Specified by:
splitQuotedTableNamein interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowHyphenInUnquotedTableName
public boolean allowHyphenInUnquotedTableName()- Specified by:
allowHyphenInUnquotedTableNamein interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isBangEqualAllowed
public boolean isBangEqualAllowed()- Specified by:
isBangEqualAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isPercentRemainderAllowed
public boolean isPercentRemainderAllowed()- Specified by:
isPercentRemainderAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isMinusAllowed
public boolean isMinusAllowed()- Specified by:
isMinusAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isApplyAllowed
public boolean isApplyAllowed()- Specified by:
isApplyAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isInsertSubsetColumnsAllowed
public boolean isInsertSubsetColumnsAllowed()- Specified by:
isInsertSubsetColumnsAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowAliasUnnestItems
public boolean allowAliasUnnestItems()- Specified by:
allowAliasUnnestItemsin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowNiladicParentheses
public boolean allowNiladicParentheses()- Specified by:
allowNiladicParenthesesin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowExplicitRowValueConstructor
public boolean allowExplicitRowValueConstructor()- Specified by:
allowExplicitRowValueConstructorin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowExtend
public boolean allowExtend()- Specified by:
allowExtendin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isLimitStartCountAllowed
public boolean isLimitStartCountAllowed()- Specified by:
isLimitStartCountAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isOffsetLimitAllowed
public boolean isOffsetLimitAllowed()- Specified by:
isOffsetLimitAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowGeometry
public boolean allowGeometry()- Specified by:
allowGeometryin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
shouldConvertRaggedUnionTypesToVarying
public boolean shouldConvertRaggedUnionTypesToVarying()- Specified by:
shouldConvertRaggedUnionTypesToVaryingin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowExtendedTrim
public boolean allowExtendedTrim()- Specified by:
allowExtendedTrimin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowPluralTimeUnits
public boolean allowPluralTimeUnits()- Specified by:
allowPluralTimeUnitsin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowQualifyingCommonColumn
public boolean allowQualifyingCommonColumn()- Specified by:
allowQualifyingCommonColumnin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
semantics
public org.apache.calcite.sql.fun.SqlLibrary semantics()- Specified by:
semanticsin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowCoercionStringToArray
public boolean allowCoercionStringToArray()- Specified by:
allowCoercionStringToArrayin interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isValueAllowed
public boolean isValueAllowed()- Specified by:
isValueAllowedin interfaceorg.apache.calcite.sql.validate.SqlConformance
-