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 |
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 |
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 |
unparseDateTimeLiteral(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.SqlAbstractDateTimeLiteral literal,
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, 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 static final java.lang.String DOUBLE_POSITIVE_INF_WRAPPER
public static final java.lang.String DOUBLE_NEGATIVE_INF_WRAPPER
public static final java.lang.String DOUBLE_NAN_WRAPPER
public static final java.lang.String NUMERIC_LITERAL_WRAPPER
public static final java.lang.String IN_ARRAY_OPERATOR
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
public void unparseDateTimeLiteral(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.SqlAbstractDateTimeLiteral literal, int leftPrec, int rightPrec)
unparseDateTimeLiteral
in class org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlDialect