# tfio.bigtable.BigtableTable

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/ops/bigtable/bigtable_dataset_ops.py#L42-L133) |

Entry point for reading data from Cloud Bigtable. This object represents

    tfio.bigtable.BigtableTable(
        client_resource: tf.Tensor,
        table_id: str
    )

a Bigtable Table and provides basic methods for reading from it.

## Methods

### `parallel_read_rows`

[View source](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/ops/bigtable/bigtable_dataset_ops.py#L84-L133)

    parallel_read_rows(
        columns: List[str],
        num_parallel_calls=tf.data.AUTOTUNE,
        row_set: bigtable_row_set.RowSet = None,
        filter: filters.BigtableFilter = None,
        output_type=tf.string
    )

Retrieves values from Google Bigtable in parallel. The ammount of work
is split between workers based on SampleRowKeys. Keep in mind that when
reading in parallel, rows are not read in any particular order.
Args:
columns (List\[str\]): the list of columns to read from; the order on
this list will determine the order in the output tensors
num_parallel_calls: number of workers assigned to reading the data.
row_set (RowSet): set of rows to read.

<br />

<br />

<br />

| Returns ||
|---|---|
| A [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) returning the cell contents. ||

<br />

### `read_rows`

[View source](https://github.com/tensorflow/io/blob/v0.24.0/tensorflow_io/python/ops/bigtable/bigtable_dataset_ops.py#L56-L82)

    read_rows(
        columns: List[str],
        row_set: bigtable_row_set.RowSet,
        filter: filters.BigtableFilter = None,
        output_type=tf.string
    )

Retrieves values from Google Bigtable sorted by RowKeys.

<br />

<br />

<br />

| Args ||
|---|---|
| columns (List\[str\]): the list of columns to read from; the order on this list will determine the order in the output tensors row_set (RowSet): set of rows to read. ||

<br />

<br />

<br />

<br />

| Returns ||
|---|---|
| A [`tf.data.Dataset`](https://www.tensorflow.org/api_docs/python/tf/data/Dataset) returning the cell contents. ||

<br />