Class PubsubMessageSchemaCoder
- java.lang.Object
-
- org.apache.beam.sdk.io.gcp.pubsub.PubsubMessageSchemaCoder
-
public class PubsubMessageSchemaCoder extends java.lang.ObjectProvides aSchemaCoderforPubsubMessage, including the topic and all fields of a PubSub message from server.SchemaCoderis used so that fields can be added in the future without breaking update compatibility. Maintainers should prefer this coder when adding new features toPubsubIO.
-
-
Constructor Summary
Constructors Constructor Description PubsubMessageSchemaCoder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.apache.beam.sdk.schemas.SchemaCoder<PubsubMessage>getSchemaCoder()
-
-
-
Method Detail
-
getSchemaCoder
public static org.apache.beam.sdk.schemas.SchemaCoder<PubsubMessage> getSchemaCoder()
-
-