public class SchemaTranslation
extends java.lang.Object
Constructor and Description |
---|
SchemaTranslation() |
Modifier and Type | Method and Description |
---|---|
static Schema |
fromProto(org.apache.beam.model.pipeline.v1.SchemaApi.Schema protoSchema) |
static org.apache.beam.model.pipeline.v1.SchemaApi.Row |
rowToProto(Row row) |
static org.apache.beam.model.pipeline.v1.SchemaApi.Schema |
schemaToProto(Schema schema,
boolean serializeLogicalType) |
public static org.apache.beam.model.pipeline.v1.SchemaApi.Schema schemaToProto(Schema schema, boolean serializeLogicalType)
public static Schema fromProto(org.apache.beam.model.pipeline.v1.SchemaApi.Schema protoSchema)
public static org.apache.beam.model.pipeline.v1.SchemaApi.Row rowToProto(Row row)