@AutoService(value=FileWriteSchemaTransformFormatProvider.class) public class JsonWriteSchemaTransformFormatProvider extends java.lang.Object implements FileWriteSchemaTransformFormatProvider
FileWriteSchemaTransformFormatProvider
for JSON format.Constructor and Description |
---|
JsonWriteSchemaTransformFormatProvider() |
Modifier and Type | Method and Description |
---|---|
PTransform<PCollection<Row>,PCollection<java.lang.String>> |
buildTransform(FileWriteSchemaTransformConfiguration configuration,
Schema schema)
Builds a
PTransform that transforms a Row PCollection into result
PCollection file names written using TextIO.Write . |
java.lang.String |
identifier()
Returns an id that uniquely represents this among others implementing its derived interface.
|
public JsonWriteSchemaTransformFormatProvider()
public java.lang.String identifier()
Providers.Identifyable
identifier
in interface Providers.Identifyable
public PTransform<PCollection<Row>,PCollection<java.lang.String>> buildTransform(FileWriteSchemaTransformConfiguration configuration, Schema schema)
PTransform
that transforms a Row
PCollection
into result
PCollection
file names written using TextIO.Write
.buildTransform
in interface FileWriteSchemaTransformFormatProvider