Class BeamBigQuerySqlDialect


  • public class BeamBigQuerySqlDialect
    extends org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect

        org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.CalendarPolicy, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.Context, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.DatabaseProduct, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.FakeUtil
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect DEFAULT  
      static org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.Context DEFAULT_CONTEXT  
      static java.lang.String DOUBLE_NAN_WRAPPER  
      static java.lang.String DOUBLE_NEGATIVE_INF_WRAPPER  
      static java.lang.String DOUBLE_POSITIVE_INF_WRAPPER  
      static java.lang.String IN_ARRAY_OPERATOR  
      static java.lang.String NUMERIC_LITERAL_WRAPPER  
      • Fields inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect

        TYPE_SYSTEM
      • Fields inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect

        BUILT_IN_OPERATORS_LIST, EMPTY_CONTEXT, identifierEndQuoteString, identifierEscapedQuote, identifierQuoteString, literalEndQuoteString, literalEscapedQuote, literalQuoteString, LOGGER, nullCollation
    • Constructor Summary

      Constructors 
      Constructor Description
      BeamBigQuerySqlDialect​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.Context context)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String quoteIdentifier​(java.lang.String val)  
      void unparseCall​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec)  
      void unparseDateTimeLiteral​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlAbstractDateTimeLiteral literal, int leftPrec, int rightPrec)  
      void unparseSqlIntervalLiteral​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIntervalLiteral literal, int leftPrec, int rightPrec)
      BigQuery interval syntax: INTERVAL int64 time_unit.
      • Methods inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect

        configureParser, getCastSpec, getFormatModel, getTypeSystem, identifierNeedsQuote, supportsAggregateFunctionFilter, supportsAliasedValues, supportsApproxCountDistinct, supportsImplicitTypeCoercion, supportsNestedAggregations, unparseOffsetFetch, unparseSqlIntervalQualifier
      • Methods inherited from class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect

        allowsAs, configureParser, containsNonAscii, create, defaultNullDirection, emulateJoinTypeForCrossJoin, emulateNullDirection, emulateNullDirectionWithIsNull, getCalendarPolicy, getConformance, getDatabaseProduct, getNullCollation, getProduct, getQuotedCasing, getQuoting, getSingleRowTableName, getUnquotedCasing, hasImplicitTableAlias, isCaseSensitive, prepareUnparse, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, requiresAliasForFromItems, rewriteMaxMin, rewriteMaxMinExpr, rewriteSingleValueExpr, supportBooleanCaseWhen, supportsAggregateFunction, supportsCharSet, supportsDataType, supportsFunction, supportsGroupByLiteral, supportsGroupByWithCube, supportsGroupByWithRollup, supportsJoinType, supportsOffsetFetch, supportsTimestampPrecision, supportsWindowFunctions, unparseBoolLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseLimit, unparseNumericLiteral, unparseOffset, unparseSqlDatetimeArithmetic, unparseSqlSetOption, unparseTableScanHints, unparseTopN, unquoteStringLiteral
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • DEFAULT_CONTEXT

        public static final org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.Context DEFAULT_CONTEXT
      • DEFAULT

        public static final org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect DEFAULT
      • DOUBLE_POSITIVE_INF_WRAPPER

        public static final java.lang.String DOUBLE_POSITIVE_INF_WRAPPER
        See Also:
        Constant Field Values
      • DOUBLE_NEGATIVE_INF_WRAPPER

        public static final java.lang.String DOUBLE_NEGATIVE_INF_WRAPPER
        See Also:
        Constant Field Values
      • DOUBLE_NAN_WRAPPER

        public static final java.lang.String DOUBLE_NAN_WRAPPER
        See Also:
        Constant Field Values
      • NUMERIC_LITERAL_WRAPPER

        public static final java.lang.String NUMERIC_LITERAL_WRAPPER
        See Also:
        Constant Field Values
      • IN_ARRAY_OPERATOR

        public static final java.lang.String IN_ARRAY_OPERATOR
        See Also:
        Constant Field Values
    • Constructor Detail

      • BeamBigQuerySqlDialect

        public BeamBigQuerySqlDialect​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.Context context)
    • Method Detail

      • quoteIdentifier

        public java.lang.String quoteIdentifier​(java.lang.String val)
        Overrides:
        quoteIdentifier in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect
      • unparseCall

        public void unparseCall​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlWriter writer,
                                org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlCall call,
                                int leftPrec,
                                int rightPrec)
        Overrides:
        unparseCall in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect
      • unparseSqlIntervalLiteral

        public void unparseSqlIntervalLiteral​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlWriter writer,
                                              org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlIntervalLiteral literal,
                                              int leftPrec,
                                              int rightPrec)
        BigQuery interval syntax: INTERVAL int64 time_unit.
        Overrides:
        unparseSqlIntervalLiteral in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect
      • unparseDateTimeLiteral

        public void unparseDateTimeLiteral​(org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlWriter writer,
                                           org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlAbstractDateTimeLiteral literal,
                                           int leftPrec,
                                           int rightPrec)
        Overrides:
        unparseDateTimeLiteral in class org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect