Interface FileWriteSchemaTransformFormatProvider
- All Superinterfaces:
Providers.Identifyable
- All Known Implementing Classes:
AvroWriteSchemaTransformFormatProvider
,CsvWriteSchemaTransformFormatProvider
,JsonWriteSchemaTransformFormatProvider
,ParquetWriteSchemaTransformFormatProvider
,XmlWriteSchemaTransformFormatProvider
Provides a
PTransform
that writes a PCollection
of Row
s and outputs a
PCollection
of the file names according to a registered AutoService
FileWriteSchemaTransformFormatProvider
implementation. See FileWriteSchemaTransformFormatProviders
for a list of available
formats.-
Method Summary
Modifier and TypeMethodDescriptionbuildTransform
(FileWriteSchemaTransformConfiguration configuration, Schema schema) Builds aPTransform
that writes aRow
PCollection
and outputs the resultingPCollectionTuple
with two tags, one for the file names, and another errored-out rows.Methods inherited from interface org.apache.beam.sdk.schemas.io.Providers.Identifyable
identifier
-
Method Details
-
buildTransform
PTransform<PCollection<Row>,PCollectionTuple> buildTransform(FileWriteSchemaTransformConfiguration configuration, Schema schema) Builds aPTransform
that writes aRow
PCollection
and outputs the resultingPCollectionTuple
with two tags, one for the file names, and another errored-out rows.
-