@AutoService(value=FileWriteSchemaTransformFormatProvider.class) public class CsvWriteSchemaTransformFormatProvider extends java.lang.Object implements FileWriteSchemaTransformFormatProvider
FileWriteSchemaTransformFormatProvider
for CSV format.Constructor and Description |
---|
CsvWriteSchemaTransformFormatProvider() |
Modifier and Type | Method and Description |
---|---|
PTransform<PCollection<Row>,PCollectionTuple> |
buildTransform(FileWriteSchemaTransformConfiguration configuration,
Schema schema)
Builds a
PTransform that writes a Row PCollection and outputs the
resulting PCollectionTuple with two tags, one for the file names, and another
errored-out rows. |
java.lang.String |
identifier()
Returns an id that uniquely represents this among others implementing its derived interface.
|
public CsvWriteSchemaTransformFormatProvider()
public java.lang.String identifier()
Providers.Identifyable
identifier
in interface Providers.Identifyable
public PTransform<PCollection<Row>,PCollectionTuple> buildTransform(FileWriteSchemaTransformConfiguration configuration, Schema schema)
FileWriteSchemaTransformFormatProvider
PTransform
that writes a Row
PCollection
and outputs the
resulting PCollectionTuple
with two tags, one for the file names, and another
errored-out rows.buildTransform
in interface FileWriteSchemaTransformFormatProvider