@Internal public final class ZetaSqlBeamTranslationUtils extends java.lang.Object
Unsupported ZetaSQL types: INT32, UINT32, UINT64, FLOAT, ENUM, PROTO, GEOGRAPHY
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
toBeamObject(com.google.zetasql.Value value,
boolean verifyValues) |
static java.lang.Object |
toBeamObject(com.google.zetasql.Value value,
Schema.FieldType fieldType,
boolean verifyValues) |
static Row |
toBeamRow(com.google.zetasql.Value structValue,
Schema schema,
boolean verifyValues) |
static Schema.FieldType |
toBeamType(com.google.zetasql.Type type) |
static com.google.zetasql.StructType |
toZetaSqlStructType(Schema schema) |
static com.google.zetasql.Value |
toZetaSqlStructValue(Row row,
Schema schema) |
static com.google.zetasql.Type |
toZetaSqlType(Schema.FieldType fieldType) |
static com.google.zetasql.Value |
toZetaSqlValue(@Nullable java.lang.Object object,
Schema.FieldType fieldType) |
public static com.google.zetasql.Type toZetaSqlType(Schema.FieldType fieldType)
public static com.google.zetasql.StructType toZetaSqlStructType(Schema schema)
public static com.google.zetasql.Value toZetaSqlValue(@Nullable java.lang.Object object, Schema.FieldType fieldType)
public static com.google.zetasql.Value toZetaSqlStructValue(Row row, Schema schema)
public static Schema.FieldType toBeamType(com.google.zetasql.Type type)
public static java.lang.Object toBeamObject(com.google.zetasql.Value value, boolean verifyValues)
public static java.lang.Object toBeamObject(com.google.zetasql.Value value, Schema.FieldType fieldType, boolean verifyValues)