@Internal @AutoService(value=SchemaTransformProvider.class) public class PubsubReadSchemaTransformProvider extends TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
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.
Constructor and Description |
---|
PubsubReadSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<PubsubReadSchemaTransformConfiguration> |
configurationClass()
Returns the expected class of the configuration.
|
protected SchemaTransform |
from(PubsubReadSchemaTransformConfiguration configuration)
Returns the expected
SchemaTransform of the configuration. |
java.lang.String |
identifier()
Implementation of the
TypedSchemaTransformProvider identifier method. |
java.util.List<java.lang.String> |
inputCollectionNames()
Implementation of the
TypedSchemaTransformProvider inputCollectionNames method. |
java.util.List<java.lang.String> |
outputCollectionNames()
Implementation of the
TypedSchemaTransformProvider outputCollectionNames method. |
configurationSchema, dependencies, from
protected java.lang.Class<PubsubReadSchemaTransformConfiguration> configurationClass()
configurationClass
in class TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
protected SchemaTransform from(PubsubReadSchemaTransformConfiguration configuration)
SchemaTransform
of the configuration.from
in class TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
public java.lang.String identifier()
TypedSchemaTransformProvider
identifier method.public java.util.List<java.lang.String> inputCollectionNames()
TypedSchemaTransformProvider
inputCollectionNames method. Since
no input is expected, this returns an empty list.public java.util.List<java.lang.String> outputCollectionNames()
TypedSchemaTransformProvider
outputCollectionNames method. Since
a single output is expected, this returns a list with a single name.