docs-v2/content/flux/v0/stdlib/experimental/bigtable/from.md

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.
flux_v0_ref
name parent identifier
bigtable.from experimental/bigtable experimental/bigtable/from
201
inputs

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:

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",
)