Class PhysicalSchema (3.9.0)

PhysicalSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Native schema used by a resource represented as an entry. Used by query engines for deserializing and parsing source data.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
avro google.cloud.datacatalog_v1.types.PhysicalSchema.AvroSchema
Schema in Avro JSON format. This field is a member of `oneof`_ ``schema``.
thrift google.cloud.datacatalog_v1.types.PhysicalSchema.ThriftSchema
Schema in Thrift format. This field is a member of `oneof`_ ``schema``.
protobuf google.cloud.datacatalog_v1.types.PhysicalSchema.ProtobufSchema
Schema in protocol buffer format. This field is a member of `oneof`_ ``schema``.
parquet google.cloud.datacatalog_v1.types.PhysicalSchema.ParquetSchema
Marks a Parquet-encoded data source. This field is a member of `oneof`_ ``schema``.
orc google.cloud.datacatalog_v1.types.PhysicalSchema.OrcSchema
Marks an ORC-encoded data source. This field is a member of `oneof`_ ``schema``.
csv google.cloud.datacatalog_v1.types.PhysicalSchema.CsvSchema
Marks a CSV-encoded data source. This field is a member of `oneof`_ ``schema``.

Inheritance

builtins.object > proto.message.Message > PhysicalSchema

Classes

AvroSchema

AvroSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Schema in Avro JSON format.

CsvSchema

CsvSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Marks a CSV-encoded data source.

OrcSchema

OrcSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Marks an ORC-encoded data source.

ParquetSchema

ParquetSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Marks a Parquet-encoded data source.

ProtobufSchema

ProtobufSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Schema in protocol buffer format.

ThriftSchema

ThriftSchema(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Schema in Thrift format.