@Internal @AutoService(value=SchemaTransformProvider.class) public class PubsubWriteSchemaTransformProvider extends TypedSchemaTransformProvider<PubsubWriteSchemaTransformConfiguration>
TypedSchemaTransformProvider
for Pub/Sub reads configured using
PubsubWriteSchemaTransformConfiguration
.
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 |
---|
PubsubWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<PubsubWriteSchemaTransformConfiguration> |
configurationClass()
Returns the expected class of the configuration.
|
SchemaTransform |
from(PubsubWriteSchemaTransformConfiguration configuration)
Returns the expected
SchemaTransform of the configuration. |
java.lang.String |
identifier()
Implementation of the
SchemaTransformProvider 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<PubsubWriteSchemaTransformConfiguration> configurationClass()
configurationClass
in class TypedSchemaTransformProvider<PubsubWriteSchemaTransformConfiguration>
public SchemaTransform from(PubsubWriteSchemaTransformConfiguration configuration)
SchemaTransform
of the configuration.from
in class TypedSchemaTransformProvider<PubsubWriteSchemaTransformConfiguration>
public java.lang.String identifier()
SchemaTransformProvider
identifier method.public java.util.List<java.lang.String> inputCollectionNames()
TypedSchemaTransformProvider
inputCollectionNames method. Since a
single input is expected, this returns a list with a single name.public java.util.List<java.lang.String> outputCollectionNames()
TypedSchemaTransformProvider
outputCollectionNames method. The
only expected output is the ERROR_TAG
.