gfw.common.beam.transforms.WriteToJson#
- class WriteToJson(output_dir='workdir', output_prefix='', **kwargs)[source]#
Writes PCollection as JSON.
- Parameters:
Methods
annotationsdefault_labeldefault_type_hintsReturns the display data associated to a pipeline component.
Writes the input PCollection to a JSON file.
from_runner_apiget_resource_hintsGets and/or initializes type hints for this object.
Returns the window function to be associated with transform's output.
infer_output_typeregister_urnrunner_api_requires_keyed_inputto_runner_apito_runner_api_parameterto_runner_api_pickledtype_check_inputstype_check_inputs_or_outputstype_check_outputsAnnotates the input type of a
PTransformwith a type-hint.Annotates the output type of a
PTransformwith a type-hint.Adds resource hints to the
PTransform.Attributes
WORKDIR_DEFAULTlabelpipelineside_inputs