@Internal @Experimental(value=SCHEMAS) public class PubsubSchemaTransformReadProvider extends TypedSchemaTransformProvider<PubsubSchemaTransformReadConfiguration>
TypedSchemaTransformProvider
for Pub/Sub reads configured using
PubsubSchemaTransformReadConfiguration
.
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 |
---|
PubsubSchemaTransformReadProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<PubsubSchemaTransformReadConfiguration> |
configurationClass()
Returns the expected class of the configuration.
|
protected SchemaTransform |
from(PubsubSchemaTransformReadConfiguration 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<PubsubSchemaTransformReadConfiguration> configurationClass()
configurationClass
in class TypedSchemaTransformProvider<PubsubSchemaTransformReadConfiguration>
protected SchemaTransform from(PubsubSchemaTransformReadConfiguration configuration)
SchemaTransform
of the configuration.from
in class TypedSchemaTransformProvider<PubsubSchemaTransformReadConfiguration>
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.