apache_beam.coders.row_coder module

class apache_beam.coders.row_coder.RowCoder(schema)[source]

Bases: apache_beam.coders.coders.FastCoder

Coder for typing.NamedTuple instances.

Implements the beam:coder:row:v1 standard coder spec.

Initializes a RowCoder.

Parameters:schema (apache_beam.portability.api.schema_pb2.Schema) – The protobuf representation of the schema of the data that the RowCoder will be used to encode/decode.
is_deterministic()[source]
to_type_hint()[source]
as_cloud_object(coders_context=None)[source]
to_runner_api_parameter(unused_context)[source]
static from_runner_api_parameter(payload, components, unused_context)[source]
static from_type_hint(named_tuple_type, registry)[source]
static coder_from_type(field_type)[source]