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 Details

  • Method Details

    • values

      public static FlinkSqlConformance[] 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

      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 name
      NullPointerException - if the argument is null
    • isLiberal

      public boolean isLiberal()
      Specified by:
      isLiberal in interface org.apache.calcite.sql.validate.SqlConformance
    • allowCharLiteralAlias

      public boolean allowCharLiteralAlias()
      Specified by:
      allowCharLiteralAlias in interface org.apache.calcite.sql.validate.SqlConformance
    • isGroupByAlias

      public boolean isGroupByAlias()
      Specified by:
      isGroupByAlias in interface org.apache.calcite.sql.validate.SqlConformance
    • isGroupByOrdinal

      public boolean isGroupByOrdinal()
      Specified by:
      isGroupByOrdinal in interface org.apache.calcite.sql.validate.SqlConformance
    • isHavingAlias

      public boolean isHavingAlias()
      Specified by:
      isHavingAlias in interface org.apache.calcite.sql.validate.SqlConformance
    • isSortByOrdinal

      public boolean isSortByOrdinal()
      Specified by:
      isSortByOrdinal in interface org.apache.calcite.sql.validate.SqlConformance
    • isSortByAlias

      public boolean isSortByAlias()
      Specified by:
      isSortByAlias in interface org.apache.calcite.sql.validate.SqlConformance
    • isSortByAliasObscures

      public boolean isSortByAliasObscures()
      Specified by:
      isSortByAliasObscures in interface org.apache.calcite.sql.validate.SqlConformance
    • isFromRequired

      public boolean isFromRequired()
      Specified by:
      isFromRequired in interface org.apache.calcite.sql.validate.SqlConformance
    • splitQuotedTableName

      public boolean splitQuotedTableName()
      Specified by:
      splitQuotedTableName in interface org.apache.calcite.sql.validate.SqlConformance
    • allowHyphenInUnquotedTableName

      public boolean allowHyphenInUnquotedTableName()
      Specified by:
      allowHyphenInUnquotedTableName in interface org.apache.calcite.sql.validate.SqlConformance
    • isBangEqualAllowed

      public boolean isBangEqualAllowed()
      Specified by:
      isBangEqualAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • isPercentRemainderAllowed

      public boolean isPercentRemainderAllowed()
      Specified by:
      isPercentRemainderAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • isMinusAllowed

      public boolean isMinusAllowed()
      Specified by:
      isMinusAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • isApplyAllowed

      public boolean isApplyAllowed()
      Specified by:
      isApplyAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • isInsertSubsetColumnsAllowed

      public boolean isInsertSubsetColumnsAllowed()
      Specified by:
      isInsertSubsetColumnsAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • allowAliasUnnestItems

      public boolean allowAliasUnnestItems()
      Specified by:
      allowAliasUnnestItems in interface org.apache.calcite.sql.validate.SqlConformance
    • allowNiladicParentheses

      public boolean allowNiladicParentheses()
      Specified by:
      allowNiladicParentheses in interface org.apache.calcite.sql.validate.SqlConformance
    • allowExplicitRowValueConstructor

      public boolean allowExplicitRowValueConstructor()
      Specified by:
      allowExplicitRowValueConstructor in interface org.apache.calcite.sql.validate.SqlConformance
    • allowExtend

      public boolean allowExtend()
      Specified by:
      allowExtend in interface org.apache.calcite.sql.validate.SqlConformance
    • isLimitStartCountAllowed

      public boolean isLimitStartCountAllowed()
      Specified by:
      isLimitStartCountAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • isOffsetLimitAllowed

      public boolean isOffsetLimitAllowed()
      Specified by:
      isOffsetLimitAllowed in interface org.apache.calcite.sql.validate.SqlConformance
    • allowGeometry

      public boolean allowGeometry()
      Specified by:
      allowGeometry in interface org.apache.calcite.sql.validate.SqlConformance
    • shouldConvertRaggedUnionTypesToVarying

      public boolean shouldConvertRaggedUnionTypesToVarying()
      Specified by:
      shouldConvertRaggedUnionTypesToVarying in interface org.apache.calcite.sql.validate.SqlConformance
    • allowExtendedTrim

      public boolean allowExtendedTrim()
      Specified by:
      allowExtendedTrim in interface org.apache.calcite.sql.validate.SqlConformance
    • allowPluralTimeUnits

      public boolean allowPluralTimeUnits()
      Specified by:
      allowPluralTimeUnits in interface org.apache.calcite.sql.validate.SqlConformance
    • allowQualifyingCommonColumn

      public boolean allowQualifyingCommonColumn()
      Specified by:
      allowQualifyingCommonColumn in interface org.apache.calcite.sql.validate.SqlConformance
    • semantics

      public org.apache.calcite.sql.fun.SqlLibrary semantics()
      Specified by:
      semantics in interface org.apache.calcite.sql.validate.SqlConformance
    • allowCoercionStringToArray

      public boolean allowCoercionStringToArray()
      Specified by:
      allowCoercionStringToArray in interface org.apache.calcite.sql.validate.SqlConformance
    • isValueAllowed

      public boolean isValueAllowed()
      Specified by:
      isValueAllowed in interface org.apache.calcite.sql.validate.SqlConformance