@AutoService(value=SchemaTransformProvider.class) public class FileWriteSchemaTransformProvider extends TypedSchemaTransformProvider<FileWriteSchemaTransformConfiguration>
TypedSchemaTransformProvider
implementation for writing a Row
PCollection
to file systems, driven by a FileWriteSchemaTransformConfiguration
.Modifier and Type | Field and Description |
---|---|
static Schema |
ERROR_SCHEMA |
static Schema.Field |
FILE_NAME_FIELD |
static Schema |
OUTPUT_SCHEMA |
Constructor and Description |
---|
FileWriteSchemaTransformProvider() |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Class<FileWriteSchemaTransformConfiguration> |
configurationClass()
Provides the required
TypedSchemaTransformProvider.configurationClass() . |
protected SchemaTransform |
from(FileWriteSchemaTransformConfiguration configuration)
Builds a
SchemaTransform from a FileWriteSchemaTransformConfiguration . |
java.lang.String |
identifier()
Returns the
SchemaTransformProvider.identifier() required for registration. |
java.util.List<java.lang.String> |
inputCollectionNames()
The expected
PCollectionRowTuple input tags. |
java.util.List<java.lang.String> |
outputCollectionNames()
The expected
PCollectionRowTuple output tags. |
configurationSchema, dependencies, from
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
description
public static final Schema.Field FILE_NAME_FIELD
public static final Schema OUTPUT_SCHEMA
public static final Schema ERROR_SCHEMA
protected java.lang.Class<FileWriteSchemaTransformConfiguration> configurationClass()
TypedSchemaTransformProvider.configurationClass()
.configurationClass
in class TypedSchemaTransformProvider<FileWriteSchemaTransformConfiguration>
protected SchemaTransform from(FileWriteSchemaTransformConfiguration configuration)
SchemaTransform
from a FileWriteSchemaTransformConfiguration
.from
in class TypedSchemaTransformProvider<FileWriteSchemaTransformConfiguration>
public java.lang.String identifier()
SchemaTransformProvider.identifier()
required for registration.public java.util.List<java.lang.String> inputCollectionNames()
PCollectionRowTuple
input tags.public java.util.List<java.lang.String> outputCollectionNames()
PCollectionRowTuple
output tags.