Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::PhysicalSchema (v1.4.0)

Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::PhysicalSchema.

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

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#avro

def avro() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema
Returns

#avro=

def avro=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema
Parameter
Returns

#csv

def csv() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema
Returns

#csv=

def csv=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema
Parameter
  • value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema) — Marks a CSV-encoded data source.

    Note: The following fields are mutually exclusive: csv, avro, thrift, protobuf, parquet, orc. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns

#orc

def orc() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema
Returns

#orc=

def orc=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema
Parameter
  • value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema) — Marks an ORC-encoded data source.

    Note: The following fields are mutually exclusive: orc, avro, thrift, protobuf, parquet, csv. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns

#parquet

def parquet() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema
Returns

#parquet=

def parquet=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema
Parameter
Returns

#protobuf

def protobuf() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema
Returns

#protobuf=

def protobuf=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema
Parameter
Returns

#thrift

def thrift() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema
Returns

#thrift=

def thrift=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema
Parameter
Returns