Class JsonWriteSchemaTransformFormatProvider
java.lang.Object
org.apache.beam.sdk.io.fileschematransform.JsonWriteSchemaTransformFormatProvider
- All Implemented Interfaces:
 FileWriteSchemaTransformFormatProvider,Providers.Identifyable
@AutoService(FileWriteSchemaTransformFormatProvider.class)
public class JsonWriteSchemaTransformFormatProvider
extends Object
implements FileWriteSchemaTransformFormatProvider
A 
FileWriteSchemaTransformFormatProvider for JSON format.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuildTransform(FileWriteSchemaTransformConfiguration configuration, Schema schema) Builds aPTransformthat transforms aRowPCollectioninto resultPCollectionTuplewith two tags, one for file names written usingTextIO.Write, another for errored-out rows.Returns an id that uniquely represents this among others implementing its derived interface. 
- 
Constructor Details
- 
JsonWriteSchemaTransformFormatProvider
public JsonWriteSchemaTransformFormatProvider() 
 - 
 - 
Method Details
- 
identifier
Description copied from interface:Providers.IdentifyableReturns an id that uniquely represents this among others implementing its derived interface.- Specified by:
 identifierin interfaceProviders.Identifyable
 - 
buildTransform
public PTransform<PCollection<Row>,PCollectionTuple> buildTransform(FileWriteSchemaTransformConfiguration configuration, Schema schema) Builds aPTransformthat transforms aRowPCollectioninto resultPCollectionTuplewith two tags, one for file names written usingTextIO.Write, another for errored-out rows.- Specified by:
 buildTransformin interfaceFileWriteSchemaTransformFormatProvider
 
 -