Class BigQuerySchema
java.lang.Object
com.google.adk.plugins.agentanalytics.BigQuerySchema
Utility for defining the BigQuery events table schema.
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.apache.arrow.vector.types.pojo.SchemaReturns the Arrow schema for the events table.static com.google.common.collect.ImmutableList<String> Returns names of fields to cluster by default.static com.google.cloud.bigquery.SchemaReturns the BigQuery schema for the events table.static com.google.cloud.bigquery.storage.v1.TableSchemaReturns the BigQuery TableSchema for the events table (Storage Write API).static com.google.protobuf.ByteStringReturns the serialized Arrow schema for the events table.
-
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
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).
-