@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.
Modifier and Type | Field and Description |
---|---|
static Schema |
ERROR_SCHEMA |
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<Row> |
OUTPUT_TAG |
static java.util.Set<java.lang.String> |
VALID_DATA_FORMATS |
static java.lang.String |
VALID_FORMATS_STR |
Constructor and Description |
---|
PubsubReadSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<PubsubReadSchemaTransformConfiguration> |
configurationClass() |
SchemaTransform |
from(PubsubReadSchemaTransformConfiguration 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 java.lang.String VALID_FORMATS_STR
public static final java.util.Set<java.lang.String> VALID_DATA_FORMATS
public static final Schema ERROR_SCHEMA
public java.lang.Class<PubsubReadSchemaTransformConfiguration> configurationClass()
configurationClass
in class TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
public SchemaTransform from(PubsubReadSchemaTransformConfiguration configuration)
TypedSchemaTransformProvider
InvalidConfigurationException
or a
InvalidSchemaException
.from
in class TypedSchemaTransformProvider<PubsubReadSchemaTransformConfiguration>
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