public class BeamBigQuerySqlDialect
extends org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.CalendarPolicy, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.Context, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.DatabaseProduct, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.FakeUtil
Modifier and Type | Field and Description |
---|---|
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect |
DEFAULT |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.Context |
DEFAULT_CONTEXT |
Constructor and Description |
---|
BeamBigQuerySqlDialect(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.Context context) |
Modifier and Type | Method and Description |
---|---|
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode |
emulateNullDirection(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode node,
boolean nullsFirst,
boolean desc) |
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode |
getCastSpec(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType type)
BigQuery data type reference: Bigquery
Standard SQL Data Types.
|
java.lang.String |
quoteIdentifier(java.lang.String val) |
boolean |
supportsNestedAggregations() |
void |
unparseCall(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlCall call,
int leftPrec,
int rightPrec) |
void |
unparseOffsetFetch(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode offset,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode fetch) |
void |
unparseSqlIntervalLiteral(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlIntervalLiteral literal,
int leftPrec,
int rightPrec)
BigQuery interval syntax: INTERVAL int64 time_unit.
|
void |
unparseSqlIntervalQualifier(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlIntervalQualifier qualifier,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataTypeSystem typeSystem) |
allowsAs, configureParser, create, defaultNullDirection, emptyContext, emulateJoinTypeForCrossJoin, emulateNullDirectionWithIsNull, getCalendarPolicy, getConformance, getDatabaseProduct, getNullCollation, getProduct, getQuotedCasing, getQuoting, getTypeSystem, getUnquotedCasing, hasImplicitTableAlias, isCaseSensitive, quoteIdentifier, quoteIdentifier, quoteStringLiteral, quoteStringLiteralUnicode, quoteTimestampLiteral, requiresAliasForFromItems, rewriteSingleValueExpr, supportsAggregateFunction, supportsAliasedValues, supportsCharSet, supportsFunction, supportsGroupByWithCube, supportsGroupByWithRollup, supportsOffsetFetch, supportsWindowFunctions, unparseDateTimeLiteral, unparseFetchUsingAnsi, unparseFetchUsingLimit, unparseSqlDatetimeArithmetic, unquoteStringLiteral
public static final org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.Context DEFAULT_CONTEXT
public static final org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect DEFAULT
public BeamBigQuerySqlDialect(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect.Context context)
public java.lang.String quoteIdentifier(java.lang.String val)
quoteIdentifier
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode emulateNullDirection(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode node, boolean nullsFirst, boolean desc)
emulateNullDirection
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect
public boolean supportsNestedAggregations()
supportsNestedAggregations
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect
public void unparseOffsetFetch(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode offset, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode fetch)
unparseOffsetFetch
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect
public void unparseCall(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlCall call, int leftPrec, int rightPrec)
unparseCall
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.dialect.BigQuerySqlDialect
public void unparseSqlIntervalLiteral(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlIntervalLiteral literal, int leftPrec, int rightPrec)
unparseSqlIntervalLiteral
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect
public void unparseSqlIntervalQualifier(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlWriter writer, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlIntervalQualifier qualifier, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataTypeSystem typeSystem)
unparseSqlIntervalQualifier
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect
public org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlNode getCastSpec(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType type)
getCastSpec
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect