Class ZetaSqlBeamTranslationUtils
java.lang.Object
org.apache.beam.sdk.extensions.sql.zetasql.ZetaSqlBeamTranslationUtils
Utility methods for ZetaSQL invalid input: '<'=> Beam translation.
Unsupported ZetaSQL types: INT32, UINT32, UINT64, FLOAT, ENUM, PROTO, GEOGRAPHY
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
toBeamObject
(com.google.zetasql.Value value, boolean verifyValues) static Object
toBeamObject
(com.google.zetasql.Value value, Schema.FieldType fieldType, boolean verifyValues) static Row
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 Object object, Schema.FieldType fieldType)
-
Method Details
-
toZetaSqlType
-
toZetaSqlStructType
-
toZetaSqlValue
public static com.google.zetasql.Value toZetaSqlValue(@Nullable Object object, Schema.FieldType fieldType) -
toZetaSqlStructValue
-
toBeamType
-
toBeamObject
-
toBeamObject
public static Object toBeamObject(com.google.zetasql.Value value, Schema.FieldType fieldType, boolean verifyValues) -
toBeamRow
-