Class JsonReadSchemaTransformFormatProvider
java.lang.Object
org.apache.beam.sdk.io.fileschematransform.JsonReadSchemaTransformFormatProvider
- All Implemented Interfaces:
FileReadSchemaTransformFormatProvider,Providers.Identifyable
@AutoService(FileReadSchemaTransformFormatProvider.class)
public class JsonReadSchemaTransformFormatProvider
extends Object
implements FileReadSchemaTransformFormatProvider
A
FileReadSchemaTransformFormatProvider that reads newline-delimited JSONs.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildTransform(FileReadSchemaTransformConfiguration configuration) Returns an id that uniquely represents this among others implementing its derived interface.
-
Constructor Details
-
JsonReadSchemaTransformFormatProvider
public JsonReadSchemaTransformFormatProvider()
-
-
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<FileIO.ReadableFile>,PCollection<Row>> buildTransform(FileReadSchemaTransformConfiguration configuration) - Specified by:
buildTransformin interfaceFileReadSchemaTransformFormatProvider
-