Class Table (2.35.0)

Table(
    client: google.cloud.bigtable.data._sync_autogen.client.BigtableDataClient,
    instance_id: str,
    table_id: str,
    app_profile_id: typing.Optional[str] = None,
    *,
    default_read_rows_operation_timeout: float = 600,
    default_read_rows_attempt_timeout: float | None = 20,
    default_mutate_rows_operation_timeout: float = 600,
    default_mutate_rows_attempt_timeout: float | None = 60,
    default_operation_timeout: float = 60,
    default_attempt_timeout: float | None = 20,
    default_read_rows_retryable_errors: typing.Sequence[type[Exception]] = (
        google.api_core.exceptions.DeadlineExceeded,
        google.api_core.exceptions.ServiceUnavailable,
        google.api_core.exceptions.Aborted,
        google.api_core.exceptions.Cancelled,
    ),
    default_mutate_rows_retryable_errors: typing.Sequence[type[Exception]] = (
        google.api_core.exceptions.DeadlineExceeded,
        google.api_core.exceptions.ServiceUnavailable,
    ),
    default_retryable_errors: typing.Sequence[type[Exception]] = (
        google.api_core.exceptions.DeadlineExceeded,
        google.api_core.exceptions.ServiceUnavailable,
    )
)

Main Data API surface for interacting with a Bigtable table.

Table object maintains table_id, and app_profile_id context, and passes them with each call

Methods

Table

Table(
    client: google.cloud.bigtable.data._sync_autogen.client.BigtableDataClient,
    instance_id: str,
    table_id: str,
    app_profile_id: typing.Optional[str] = None,
    *,
    default_read_rows_operation_timeout: float = 600,
    default_read_rows_attempt_timeout: float | None = 20,
    default_mutate_rows_operation_timeout: float = 600,
    default_mutate_rows_attempt_timeout: float | None = 60,
    default_operation_timeout: float = 60,
    default_attempt_timeout: float | None = 20,
    default_read_rows_retryable_errors: typing.Sequence[type[Exception]] = (
        google.api_core.exceptions.DeadlineExceeded,
        google.api_core.exceptions.ServiceUnavailable,
        google.api_core.exceptions.Aborted,
        google.api_core.exceptions.Cancelled,
    ),
    default_mutate_rows_retryable_errors: typing.Sequence[type[Exception]] = (
        google.api_core.exceptions.DeadlineExceeded,
        google.api_core.exceptions.ServiceUnavailable,
    ),
    default_retryable_errors: typing.Sequence[type[Exception]] = (
        google.api_core.exceptions.DeadlineExceeded,
        google.api_core.exceptions.ServiceUnavailable,
    )
)

Initialize a Table instance

Exceptions
Type Description
None