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 SchemaTransform
from
(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, 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
-
OUTPUT_TAG
-
ERROR_TAG
-
-
Constructor Details
-
KafkaReadSchemaTransformProvider
public KafkaReadSchemaTransformProvider()
-
-
Method Details
-
configurationClass
- Overrides:
configurationClass
in classTypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
-
from
Description copied from class:TypedSchemaTransformProvider
Produce a SchemaTransform from ConfigT. Can throw aInvalidConfigurationException
or aInvalidSchemaException
.- Specified by:
from
in classTypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
-
getRawBytesToRowFunction
-
getRawStringToRowFunction
-
identifier
Description copied from interface:SchemaTransformProvider
Returns an id that uniquely represents this transform. -
inputCollectionNames
Description copied from interface:SchemaTransformProvider
Returns the input collection names of this transform. -
outputCollectionNames
Description copied from interface:SchemaTransformProvider
Returns the output collection names of this transform.
-