类:BigQuerySchema

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

public final class BigQuerySchema extends Object
这是一个用于定义 BigQuery 事件表结构的工具(utility)。
  • 方法概述

    Modifier and Type
    Method
    Description
    static org.apache.arrow.vector.types.pojo.Schema
    返回与“events”表相关的数据结构(即数据模式,称为“Arrow schema”)。
    static com.google.common.collect.ImmutableList<String>
    默认情况下,该函数会返回用于聚类的字段名称。
    static com.google.cloud.bigquery.Schema
    返回事件表对应的 BigQuery 数据模式(即表的结构)。
    static com.google.cloud.bigquery.storage.v1.TableSchema
    返回事件表(用于存储写入操作的 API)对应的 BigQuery 表结构(TableSchema)。
    static com.google.protobuf.ByteString
    返回事件表对应的序列化后的 Arrow 数据结构(即 Arrow 模式)。

    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()
      返回事件表对应的 BigQuery 数据模式(即表的结构)。
    • getArrowSchema

      public static org.apache.arrow.vector.types.pojo.Schema getArrowSchema()
      返回与“events”表相关的数据结构(即数据模式,称为“Arrow schema”)。
    • getSerializedArrowSchema

      public static com.google.protobuf.ByteString getSerializedArrowSchema()
      返回事件表对应的序列化后的 Arrow 数据结构(即 Arrow 模式)。
    • getDefaultClusteringFields

      public static com.google.common.collect.ImmutableList<String> getDefaultClusteringFields()
      默认情况下,该函数会返回用于聚类的字段名称。
    • getEventsTableSchema

      public static com.google.cloud.bigquery.storage.v1.TableSchema getEventsTableSchema()
      返回事件表(用于存储写入操作的 API)对应的 BigQuery 表结构(TableSchema)。