@AutoService(value=SchemaTransformProvider.class) public class TFRecordWriteSchemaTransformProvider extends TypedSchemaTransformProvider<TFRecordWriteSchemaTransformConfiguration>
Modifier and Type | Class and Description |
---|---|
static class |
TFRecordWriteSchemaTransformProvider.ErrorFn |
Modifier and Type | Field and Description |
---|---|
static TupleTag<Row> |
ERROR_TAG |
static TupleTag<byte[]> |
OUTPUT_TAG |
Constructor and Description |
---|
TFRecordWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected SchemaTransform |
from(TFRecordWriteSchemaTransformConfiguration configuration)
Returns the expected
SchemaTransform of the configuration. |
static SerializableFunction<Row,byte[]> |
getRowToBytesFn(java.lang.String rowFieldName) |
java.lang.String |
identifier()
Implementation of the
TypedSchemaTransformProvider identifier method. |
java.util.List<java.lang.String> |
inputCollectionNames()
Implementation of the
TypedSchemaTransformProvider inputCollectionNames method. |
java.util.List<java.lang.String> |
outputCollectionNames()
Implementation of the
TypedSchemaTransformProvider outputCollectionNames method. |
configurationClass, configurationSchema, dependencies, from
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
description
public static final TupleTag<byte[]> OUTPUT_TAG
public TFRecordWriteSchemaTransformProvider()
protected SchemaTransform from(TFRecordWriteSchemaTransformConfiguration configuration)
SchemaTransform
of the configuration.from
in class TypedSchemaTransformProvider<TFRecordWriteSchemaTransformConfiguration>
public java.lang.String identifier()
TypedSchemaTransformProvider
identifier method.public java.util.List<java.lang.String> inputCollectionNames()
TypedSchemaTransformProvider
inputCollectionNames method.public java.util.List<java.lang.String> outputCollectionNames()
TypedSchemaTransformProvider
outputCollectionNames method.public static SerializableFunction<Row,byte[]> getRowToBytesFn(java.lang.String rowFieldName)