@AutoService(value=SchemaTransformProvider.class) public class KafkaReadSchemaTransformProvider extends TypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
KafkaReadSchemaTransformProvider.ErrorFn |
Modifier and Type | Field and Description |
---|---|
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<Row> |
OUTPUT_TAG |
Constructor and Description |
---|
KafkaReadSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<KafkaReadSchemaTransformConfiguration> |
configurationClass() |
protected SchemaTransform |
from(KafkaReadSchemaTransformConfiguration configuration)
Produce a SchemaTransform from ConfigT.
|
static SerializableFunction<byte[],Row> |
getRawBytesToRowFunction(Schema rawSchema) |
java.lang.String |
identifier()
Returns an id that uniquely represents this transform.
|
java.util.List<java.lang.String> |
inputCollectionNames()
Returns the input collection names of this transform.
|
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
protected java.lang.Class<KafkaReadSchemaTransformConfiguration> configurationClass()
configurationClass
in class TypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
protected SchemaTransform from(KafkaReadSchemaTransformConfiguration configuration)
TypedSchemaTransformProvider
InvalidConfigurationException
or a
InvalidSchemaException
.from
in class TypedSchemaTransformProvider<KafkaReadSchemaTransformConfiguration>
public static SerializableFunction<byte[],Row> getRawBytesToRowFunction(Schema rawSchema)
public java.lang.String identifier()
SchemaTransformProvider
public java.util.List<java.lang.String> inputCollectionNames()
SchemaTransformProvider
public java.util.List<java.lang.String> outputCollectionNames()
SchemaTransformProvider