Class PubsubReadSchemaTransformProvider
java.lang.Object
org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
org.apache.beam.sdk.io.gcp.pubsub.PubsubReadSchemaTransformProvider
- All Implemented Interfaces:
SchemaTransformProvider
@AutoService(SchemaTransformProvider.class)
public class PubsubReadSchemaTransformProvider
extends TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
An implementation of
TypedSchemaTransformProvider
for Pub/Sub reads configured using
PubsubReadSchemaTransformConfiguration
.
Internal only: This class is actively being worked on, and it will likely change. We provide no backwards compatibility guarantees, and it should not be implemented outside the Beam repository.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom
(PubsubReadSchemaTransformConfiguration configuration) Produce a SchemaTransform from ConfigT.Returns an id that uniquely represents this transform.Returns the input collection names of this transform.Returns the output collection names of this transform.Methods inherited from class org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider
configurationSchema, dependencies, from
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.beam.sdk.schemas.transforms.SchemaTransformProvider
description
-
Field Details
-
VALID_FORMATS_STR
- See Also:
-
VALID_DATA_FORMATS
-
OUTPUT_TAG
-
ERROR_TAG
-
ERROR_SCHEMA
-
-
Constructor Details
-
PubsubReadSchemaTransformProvider
public PubsubReadSchemaTransformProvider()
-
-
Method Details
-
configurationClass
- Overrides:
configurationClass
in classTypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
-
from
Description copied from class:TypedSchemaTransformProvider
Produce a SchemaTransform from ConfigT. Can throw aInvalidConfigurationException
or aInvalidSchemaException
.- Specified by:
from
in classTypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
-
identifier
Description copied from interface:SchemaTransformProvider
Returns an id that uniquely represents this transform. -
inputCollectionNames
Description copied from interface:SchemaTransformProvider
Returns the input collection names of this transform. -
outputCollectionNames
Description copied from interface:SchemaTransformProvider
Returns the output collection names of this transform.
-