@Internal public final class ZetaSqlCalciteTranslationUtils extends java.lang.Object
Unsupported ZetaSQL types: INT32, UINT32, UINT64, FLOAT, ENUM (internal), PROTO, GEOGRAPHY
Modifier and Type | Field and Description |
---|---|
static java.math.BigDecimal |
ZETASQL_NUMERIC_MAX_VALUE |
static java.math.BigDecimal |
ZETASQL_NUMERIC_MIN_VALUE |
static int |
ZETASQL_NUMERIC_SCALE |
Modifier and Type | Method and Description |
---|---|
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType |
toCalciteType(com.google.zetasql.Type type,
boolean nullable,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder) |
static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexNode |
toRexNode(com.google.zetasql.Value value,
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder) |
static com.google.zetasql.Type |
toZetaSqlType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType calciteType) |
public static final java.math.BigDecimal ZETASQL_NUMERIC_MAX_VALUE
public static final java.math.BigDecimal ZETASQL_NUMERIC_MIN_VALUE
public static final int ZETASQL_NUMERIC_SCALE
public static com.google.zetasql.Type toZetaSqlType(org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType calciteType)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rel.type.RelDataType toCalciteType(com.google.zetasql.Type type, boolean nullable, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder)
public static org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexNode toRexNode(com.google.zetasql.Value value, org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.rex.RexBuilder rexBuilder)