@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.Identifyableidentifier in interface Providers.Identifyablepublic PTransform<PCollection<Row>,PCollectionTuple> buildTransform(FileWriteSchemaTransformConfiguration configuration, Schema schema)
FileWriteSchemaTransformFormatProviderPTransform 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