# Class BigQuerySchema

java.lang.Object
com.google.adk.plugins.agentanalytics.BigQuerySchema

public final class BigQuerySchema extends Object
Utility for defining the BigQuery events table schema.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static org.apache.arrow.vector.types.pojo.Schema`
  `getArrowSchema()`
  Returns the Arrow schema for the events table.
  `static com.google.common.collect.ImmutableList<String>`
  `getDefaultClusteringFields()`
  Returns names of fields to cluster by default.
  `static com.google.cloud.bigquery.Schema`
  `getEventsSchema()`
  Returns the BigQuery schema for the events table.
  `static com.google.cloud.bigquery.storage.v1.TableSchema`
  `getEventsTableSchema()`
  Returns the BigQuery TableSchema for the events table (Storage Write API).
  `static com.google.protobuf.ByteString`
  `getSerializedArrowSchema()`
  Returns the serialized Arrow schema for the events table.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### getEventsSchema

    public static com.google.cloud.bigquery.Schema getEventsSchema()
    Returns the BigQuery schema for the events table.

  - ### getArrowSchema

    public static org.apache.arrow.vector.types.pojo.Schema getArrowSchema()
    Returns the Arrow schema for the events table.

  - ### getSerializedArrowSchema

    public static com.google.protobuf.ByteString getSerializedArrowSchema()
    Returns the serialized Arrow schema for the events table.

  - ### getDefaultClusteringFields

    public static com.google.common.collect.ImmutableList<String> getDefaultClusteringFields()
    Returns names of fields to cluster by default.

  - ### getEventsTableSchema

    public static com.google.cloud.bigquery.storage.v1.TableSchema getEventsTableSchema()
    Returns the BigQuery TableSchema for the events table (Storage Write API).