@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.
Modifier and Type | Class and Description |
---|---|
static class |
PubsubWriteSchemaTransformProvider.ErrorFn |
Modifier and Type | Field and Description |
---|---|
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<PubsubMessage> |
OUTPUT_TAG |
static java.util.Set<java.lang.String> |
VALID_DATA_FORMATS |
static java.lang.String |
VALID_FORMATS_STR |
Constructor and Description |
---|
PubsubWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<PubsubWriteSchemaTransformConfiguration> |
configurationClass() |
SchemaTransform |
from(PubsubWriteSchemaTransformConfiguration configuration)
Produce a SchemaTransform from ConfigT.
|
@UnknownKeyFor @NonNull @Initialized java.lang.String |
identifier()
Returns an id that uniquely represents this transform.
|
@UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> |
inputCollectionNames()
Returns the input collection names of this transform.
|
@UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> |
outputCollectionNames()
Returns the output collection names of this transform.
|
configurationSchema, dependencies, from
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
description
public static final TupleTag<PubsubMessage> OUTPUT_TAG
public static final java.lang.String VALID_FORMATS_STR
public static final java.util.Set<java.lang.String> VALID_DATA_FORMATS
public java.lang.Class<PubsubWriteSchemaTransformConfiguration> configurationClass()
configurationClass
in class TypedSchemaTransformProvider<PubsubWriteSchemaTransformConfiguration>
public SchemaTransform from(PubsubWriteSchemaTransformConfiguration configuration)
TypedSchemaTransformProvider
InvalidConfigurationException
or a
InvalidSchemaException
.from
in class TypedSchemaTransformProvider<PubsubWriteSchemaTransformConfiguration>
public @UnknownKeyFor @NonNull @Initialized java.lang.String identifier()
SchemaTransformProvider
public @UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> inputCollectionNames()
SchemaTransformProvider
public @UnknownKeyFor @NonNull @Initialized java.util.List<java.lang.String> outputCollectionNames()
SchemaTransformProvider