Google BigQuery Storage V1 Client - Class AvroSchema (2.2.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Google BigQuery Storage V1 Client class AvroSchema.
Avro schema.
Generated from protobuf message google.cloud.bigquery.storage.v1.AvroSchema
Namespace
Google \ Cloud \ BigQuery \ Storage \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ schema |
string
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html. |
getSchema
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html.
| Returns | |
|---|---|
| Type | Description |
string |
|
setSchema
Json serialized schema, as described at https://avro.apache.org/docs/1.8.1/spec.html.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|