2.2 KiB
2.2 KiB
title | description | menu | weight | flux/v0/tags | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
bigtable.from() function | `bigtable.from()` retrieves data from a [Google Cloud Bigtable](https://cloud.google.com/bigtable/) data source. |
|
201 |
|
bigtable.from()
retrieves data from a Google Cloud Bigtable data source.
Function type signature
(instance: string, project: string, table: string, token: string) => stream[A] where A: Record
{{% caption %}} For more information, see Function type signatures. {{% /caption %}}
Parameters
token
({{< req >}}) Google Cloud IAM token to use to access the Cloud Bigtable database.
For more information, see the following:
- Cloud Bigtable Access Control
- Google Cloud IAM How-to guides
- Setting Up Authentication for Server to Server Production Applications on Google Cloud
project
({{< req >}}) Cloud Bigtable project ID.
instance
({{< req >}}) Cloud Bigtable instance ID.
table
({{< req >}}) Cloud Bigtable table name.
Examples
Query Google Cloud Bigtable
import "experimental/bigtable"
bigtable.from(
token: "example-token",
project: "example-project",
instance: "example-instance",
table: "example-table",
)