Enum FlinkSqlConformance
- java.lang.Object
-
- java.lang.Enum<FlinkSqlConformance>
-
- org.apache.flink.sql.parser.validate.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 Enum Constant Description DEFAULT
Calcite's default SQL behavior.
-
Method Summary
-
-
-
Enum Constant Detail
-
DEFAULT
public static final FlinkSqlConformance DEFAULT
Calcite's default SQL behavior.
-
-
Method Detail
-
values
public static FlinkSqlConformance[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FlinkSqlConformance c : FlinkSqlConformance.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FlinkSqlConformance valueOf(String name)
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:
isLiberal
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowCharLiteralAlias
public boolean allowCharLiteralAlias()
- Specified by:
allowCharLiteralAlias
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isGroupByAlias
public boolean isGroupByAlias()
- Specified by:
isGroupByAlias
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isGroupByOrdinal
public boolean isGroupByOrdinal()
- Specified by:
isGroupByOrdinal
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isHavingAlias
public boolean isHavingAlias()
- Specified by:
isHavingAlias
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isSortByOrdinal
public boolean isSortByOrdinal()
- Specified by:
isSortByOrdinal
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isSortByAlias
public boolean isSortByAlias()
- Specified by:
isSortByAlias
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isSortByAliasObscures
public boolean isSortByAliasObscures()
- Specified by:
isSortByAliasObscures
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isFromRequired
public boolean isFromRequired()
- Specified by:
isFromRequired
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
splitQuotedTableName
public boolean splitQuotedTableName()
- Specified by:
splitQuotedTableName
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowHyphenInUnquotedTableName
public boolean allowHyphenInUnquotedTableName()
- Specified by:
allowHyphenInUnquotedTableName
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isBangEqualAllowed
public boolean isBangEqualAllowed()
- Specified by:
isBangEqualAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isPercentRemainderAllowed
public boolean isPercentRemainderAllowed()
- Specified by:
isPercentRemainderAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isMinusAllowed
public boolean isMinusAllowed()
- Specified by:
isMinusAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isApplyAllowed
public boolean isApplyAllowed()
- Specified by:
isApplyAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isInsertSubsetColumnsAllowed
public boolean isInsertSubsetColumnsAllowed()
- Specified by:
isInsertSubsetColumnsAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowAliasUnnestItems
public boolean allowAliasUnnestItems()
- Specified by:
allowAliasUnnestItems
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowNiladicParentheses
public boolean allowNiladicParentheses()
- Specified by:
allowNiladicParentheses
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowExplicitRowValueConstructor
public boolean allowExplicitRowValueConstructor()
- Specified by:
allowExplicitRowValueConstructor
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowExtend
public boolean allowExtend()
- Specified by:
allowExtend
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isLimitStartCountAllowed
public boolean isLimitStartCountAllowed()
- Specified by:
isLimitStartCountAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isOffsetLimitAllowed
public boolean isOffsetLimitAllowed()
- Specified by:
isOffsetLimitAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowGeometry
public boolean allowGeometry()
- Specified by:
allowGeometry
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
shouldConvertRaggedUnionTypesToVarying
public boolean shouldConvertRaggedUnionTypesToVarying()
- Specified by:
shouldConvertRaggedUnionTypesToVarying
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowExtendedTrim
public boolean allowExtendedTrim()
- Specified by:
allowExtendedTrim
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowPluralTimeUnits
public boolean allowPluralTimeUnits()
- Specified by:
allowPluralTimeUnits
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowQualifyingCommonColumn
public boolean allowQualifyingCommonColumn()
- Specified by:
allowQualifyingCommonColumn
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
semantics
public org.apache.calcite.sql.fun.SqlLibrary semantics()
- Specified by:
semantics
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
allowCoercionStringToArray
public boolean allowCoercionStringToArray()
- Specified by:
allowCoercionStringToArray
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
isValueAllowed
public boolean isValueAllowed()
- Specified by:
isValueAllowed
in interfaceorg.apache.calcite.sql.validate.SqlConformance
-
-