@AutoService(value=SchemaTransformProvider.class) public class KafkaWriteSchemaTransformProvider extends TypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration |
Modifier and Type | Field and Description |
---|---|
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<KV<byte[],byte[]>> |
OUTPUT_TAG |
static java.util.Set<java.lang.String> |
SUPPORTED_FORMATS |
static java.lang.String |
SUPPORTED_FORMATS_STR |
Constructor and Description |
---|
KafkaWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected @UnknownKeyFor @NonNull @Initialized java.lang.Class<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration> |
configurationClass() |
protected @UnknownKeyFor @NonNull @Initialized SchemaTransform |
from(KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration configuration)
Produce a SchemaTransform from ConfigT.
|
static SerializableFunction<Row,byte[]> |
getRowToRawBytesFunction(java.lang.String rowFieldName) |
@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 SUPPORTED_FORMATS_STR
public static final java.util.Set<java.lang.String> SUPPORTED_FORMATS
protected @UnknownKeyFor @NonNull @Initialized java.lang.Class<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration> configurationClass()
protected @UnknownKeyFor @NonNull @Initialized SchemaTransform from(KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration configuration)
TypedSchemaTransformProvider
InvalidConfigurationException
or a
InvalidSchemaException
.from
in class TypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
public static SerializableFunction<Row,byte[]> getRowToRawBytesFunction(java.lang.String rowFieldName)
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