Class ProtoBeamConverter
java.lang.Object
org.apache.beam.sdk.extensions.protobuf.ProtoBeamConverter
Provides converts between Protobuf Message and Beam Row.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SerializableFunction<Row, Message> toProto(Descriptors.Descriptor descriptor) Returns a conversion method from Beam Row to Protobuf Message.static SerializableFunction<Message, Row> Returns a conversion method from Protobuf Message to Beam Row.
-
Constructor Details
-
ProtoBeamConverter
public ProtoBeamConverter()
-
-
Method Details
-
toProto
Returns a conversion method from Beam Row to Protobuf Message. -
toRow
Returns a conversion method from Protobuf Message to Beam Row.
-