@AutoService(value=SchemaTransformProvider.class) public class PubsubLiteWriteSchemaTransformProvider extends TypedSchemaTransformProvider<PubsubLiteWriteSchemaTransformProvider.PubsubLiteWriteSchemaTransformConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
PubsubLiteWriteSchemaTransformProvider.ErrorCounterFn |
static class |
PubsubLiteWriteSchemaTransformProvider.PubsubLiteWriteSchemaTransformConfiguration |
Modifier and Type | Field and Description |
---|---|
static Schema |
ERROR_SCHEMA |
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<com.google.cloud.pubsublite.proto.PubSubMessage> |
OUTPUT_TAG |
static java.util.Set<java.lang.String> |
SUPPORTED_FORMATS |
static java.lang.String |
SUPPORTED_FORMATS_STR |
Constructor and Description |
---|
PubsubLiteWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected @UnknownKeyFor @NonNull @Initialized java.lang.Class<PubsubLiteWriteSchemaTransformProvider.PubsubLiteWriteSchemaTransformConfiguration> |
configurationClass() |
@UnknownKeyFor @NonNull @Initialized SchemaTransform |
from(PubsubLiteWriteSchemaTransformProvider.PubsubLiteWriteSchemaTransformConfiguration 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
public static final java.lang.String SUPPORTED_FORMATS_STR
public static final java.util.Set<java.lang.String> SUPPORTED_FORMATS
public static final TupleTag<com.google.cloud.pubsublite.proto.PubSubMessage> OUTPUT_TAG
public static final Schema ERROR_SCHEMA
public PubsubLiteWriteSchemaTransformProvider()
protected @UnknownKeyFor @NonNull @Initialized java.lang.Class<PubsubLiteWriteSchemaTransformProvider.PubsubLiteWriteSchemaTransformConfiguration> configurationClass()
public @UnknownKeyFor @NonNull @Initialized SchemaTransform from(PubsubLiteWriteSchemaTransformProvider.PubsubLiteWriteSchemaTransformConfiguration configuration)
TypedSchemaTransformProvider
InvalidConfigurationException
or a
InvalidSchemaException
.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