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
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema) — Schema in Avro JSON format.
#avro=
def avro=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema
Parameter
- value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema) — Schema in Avro JSON format.
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::AvroSchema) — Schema in Avro JSON format.
#csv
def csv() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema) — Marks a CSV-encoded data source.
#csv=
def csv=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema
Parameter
- value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema) — Marks a CSV-encoded data source.
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::CsvSchema) — Marks a CSV-encoded data source.
#orc
def orc() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema) — Marks an ORC-encoded data source.
#orc=
def orc=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema
Parameter
- value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema) — Marks an ORC-encoded data source.
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::OrcSchema) — Marks an ORC-encoded data source.
#parquet
def parquet() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema) — Marks a Parquet-encoded data source.
#parquet=
def parquet=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema
Parameter
- value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema) — Marks a Parquet-encoded data source.
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ParquetSchema) — Marks a Parquet-encoded data source.
#protobuf
def protobuf() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema) — Schema in protocol buffer format.
#protobuf=
def protobuf=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema
Parameter
- value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema) — Schema in protocol buffer format.
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ProtobufSchema) — Schema in protocol buffer format.
#thrift
def thrift() -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema) — Schema in Thrift format.
#thrift=
def thrift=(value) -> ::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema
Parameter
- value (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema) — Schema in Thrift format.
Returns
- (::Google::Cloud::DataCatalog::V1::PhysicalSchema::ThriftSchema) — Schema in Thrift format.