public class SchemaTranslation
extends java.lang.Object
Constructor and Description |
---|
SchemaTranslation() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
rowFromProto(org.apache.beam.model.pipeline.v1.SchemaApi.Row row,
Schema.FieldType fieldType) |
static org.apache.beam.model.pipeline.v1.SchemaApi.Row |
rowToProto(Row row) |
static Schema |
schemaFromProto(org.apache.beam.model.pipeline.v1.SchemaApi.Schema protoSchema) |
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 schemaFromProto(org.apache.beam.model.pipeline.v1.SchemaApi.Schema protoSchema)
public static org.apache.beam.model.pipeline.v1.SchemaApi.Row rowToProto(Row row)
public static java.lang.Object rowFromProto(org.apache.beam.model.pipeline.v1.SchemaApi.Row row, Schema.FieldType fieldType)