bigtable.from() 函数
bigtable.from()
是实验性的,并且随时可能更改。
bigtable.from()
从 Google Cloud Bigtable 数据源检索数据。
函数类型签名
(instance: string, project: string, table: string, token: string) => stream[A] where A: Record
有关更多信息,请参阅函数类型签名。
参数
token
(必需)用于访问 Cloud Bigtable 数据库的 Google Cloud IAM 令牌。
有关更多信息,请参阅以下内容
project
(必需)Cloud Bigtable 项目 ID。
instance
(必需)Cloud Bigtable 实例 ID。
table
(必需)Cloud Bigtable 表名称。
示例
查询 Google Cloud Bigtable
import "experimental/bigtable"
bigtable.from(
token: "example-token",
project: "example-project",
instance: "example-instance",
table: "example-table",
)
此页面是否对您有帮助?
感谢您的反馈!