Package org.apache.beam.sdk.io.kafka
Class KafkaWriteSchemaTransformProvider
java.lang.Object
org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
org.apache.beam.sdk.io.kafka.KafkaWriteSchemaTransformProvider
- All Implemented Interfaces:
SchemaTransformProvider
@AutoService(SchemaTransformProvider.class)
public class KafkaWriteSchemaTransformProvider
extends TypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected @UnknownKeyFor @NonNull @Initialized Class
<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration> protected @UnknownKeyFor @NonNull @Initialized SchemaTransform
Produce a SchemaTransform from ConfigT.static SerializableFunction
<Row, byte[]> getRowToRawBytesFunction
(String rowFieldName) Returns an id that uniquely represents this transform.Returns the input collection names of this transform.Returns the output collection names of this transform.Methods inherited from class org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider
configurationSchema, dependencies, from
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.beam.sdk.schemas.transforms.SchemaTransformProvider
description
-
Field Details
-
SUPPORTED_FORMATS_STR
- See Also:
-
SUPPORTED_FORMATS
-
ERROR_TAG
-
OUTPUT_TAG
-
-
Constructor Details
-
KafkaWriteSchemaTransformProvider
public KafkaWriteSchemaTransformProvider()
-
-
Method Details
-
configurationClass
protected @UnknownKeyFor @NonNull @Initialized Class<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration> configurationClass() -
from
protected @UnknownKeyFor @NonNull @Initialized SchemaTransform from(KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration configuration) Description copied from class:TypedSchemaTransformProvider
Produce a SchemaTransform from ConfigT. Can throw aInvalidConfigurationException
or aInvalidSchemaException
.- Specified by:
from
in classTypedSchemaTransformProvider<KafkaWriteSchemaTransformProvider.KafkaWriteSchemaTransformConfiguration>
-
getRowToRawBytesFunction
-
identifier
Description copied from interface:SchemaTransformProvider
Returns an id that uniquely represents this transform. -
inputCollectionNames
public @UnknownKeyFor @NonNull @Initialized List<@UnknownKeyFor @NonNull @Initialized String> inputCollectionNames()Description copied from interface:SchemaTransformProvider
Returns the input collection names of this transform. -
outputCollectionNames
public @UnknownKeyFor @NonNull @Initialized List<@UnknownKeyFor @NonNull @Initialized String> outputCollectionNames()Description copied from interface:SchemaTransformProvider
Returns the output collection names of this transform.
-