StructType Stay organized with collections Save and categorize content based on your preferences.
StructType defines the fields of aSTRUCT type.
| JSON representation |
|---|
{"fields":[{object ( |
| Fields | |
|---|---|
fields[] |
The list of fields that make up this struct. Order is significant, because values of this struct type are represented as lists, where the order of field values matches the order of fields in the |
Field
Message representing a single field of a struct.
| JSON representation |
|---|
{"name":string,"type":{object ( |
| Fields | |
|---|---|
name |
The name of the field. For reads, this is the column name. For SQL queries, it is the column alias (e.g., |
type |
The type of the field. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-05-30 UTC.