Google Cloud Data Catalog V1 Client - Class PhysicalSchema (1.6.0)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class PhysicalSchema.

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

Generated from protobuf message google.cloud.datacatalog.v1.PhysicalSchema

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ avro
↳ thrift
↳ protobuf
↳ parquet
Google\Cloud\DataCatalog\V1\PhysicalSchema\ParquetSchema

Marks a Parquet-encoded data source.

↳ orc
Google\Cloud\DataCatalog\V1\PhysicalSchema\OrcSchema

Marks an ORC-encoded data source.

↳ csv
Google\Cloud\DataCatalog\V1\PhysicalSchema\CsvSchema

Marks a CSV-encoded data source.

getAvro

Schema in Avro JSON format.

hasAvro

setAvro

Schema in Avro JSON format.

Returns
Type
Description
$this

getThrift

Schema in Thrift format.

hasThrift

setThrift

Schema in Thrift format.

Returns
Type
Description
$this

getProtobuf

Schema in protocol buffer format.

hasProtobuf

setProtobuf

Schema in protocol buffer format.

Returns
Type
Description
$this

getParquet

Marks a Parquet-encoded data source.

hasParquet

setParquet

Marks a Parquet-encoded data source.

Returns
Type
Description
$this

getOrc

Marks an ORC-encoded data source.

hasOrc

setOrc

Marks an ORC-encoded data source.

Returns
Type
Description
$this

getCsv

Marks a CSV-encoded data source.

hasCsv

setCsv

Marks a CSV-encoded data source.

Returns
Type
Description
$this

getSchema

Returns
Type
Description
string
Design a Mobile Site
View Site in Mobile | Classic
Share by: