Package org.apache.beam.sdk.io.kafka
Class KafkaReadSchemaTransformProvider
java.lang.Object
org.apache.beam.sdk.schemas.transforms.TypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
org.apache.beam.sdk.io.kafka.KafkaReadSchemaTransformProvider
- All Implemented Interfaces:
SchemaTransformProvider
@AutoService(SchemaTransformProvider.class)
public class KafkaReadSchemaTransformProvider
extends TypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<KafkaReadSchemaTransformConfiguration> protected SchemaTransformfrom(KafkaReadSchemaTransformConfiguration configuration) Produce a SchemaTransform from ConfigT.static SerializableFunction<byte[], Row> getRawBytesToRowFunction(Schema rawSchema) static SerializableFunction<byte[], Row> getRawStringToRowFunction(Schema stringSchema) 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, fromMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.beam.sdk.schemas.transforms.SchemaTransformProvider
description
-
Field Details
-
OUTPUT_TAG
-
ERROR_TAG
-
-
Constructor Details
-
KafkaReadSchemaTransformProvider
public KafkaReadSchemaTransformProvider()
-
-
Method Details
-
configurationClass
- Overrides:
configurationClassin classTypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
-
from
Description copied from class:TypedSchemaTransformProviderProduce a SchemaTransform from ConfigT. Can throw aInvalidConfigurationExceptionor aInvalidSchemaException.- Specified by:
fromin classTypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
-
getRawBytesToRowFunction
-
getRawStringToRowFunction
-
identifier
Description copied from interface:SchemaTransformProviderReturns an id that uniquely represents this transform. -
inputCollectionNames
Description copied from interface:SchemaTransformProviderReturns the input collection names of this transform. -
outputCollectionNames
Description copied from interface:SchemaTransformProviderReturns the output collection names of this transform.
-