Class BeamBigQuerySqlDialect
- java.lang.Object
-
- 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.dialect.BigQuerySqlDialect
-
- org.apache.beam.sdk.extensions.sql.meta.provider.bigquery.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.SqlDialectDEFAULTstatic org.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect.ContextDEFAULT_CONTEXTstatic java.lang.StringDOUBLE_NAN_WRAPPERstatic java.lang.StringDOUBLE_NEGATIVE_INF_WRAPPERstatic java.lang.StringDOUBLE_POSITIVE_INF_WRAPPERstatic java.lang.StringIN_ARRAY_OPERATORstatic java.lang.StringNUMERIC_LITERAL_WRAPPER
-
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.StringquoteIdentifier(java.lang.String val)voidunparseCall(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)voidunparseDateTimeLiteral(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)voidunparseSqlIntervalLiteral(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
-
-
-
-
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
-
-
Method Detail
-
quoteIdentifier
public java.lang.String quoteIdentifier(java.lang.String val)
- Overrides:
quoteIdentifierin classorg.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:
unparseCallin classorg.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:
unparseSqlIntervalLiteralin classorg.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:
unparseDateTimeLiteralin classorg.apache.beam.vendor.calcite.v1_40_0.org.apache.calcite.sql.SqlDialect
-
-