Module metadata (2.26.0)

This module provides the SqlType class used for specifying types in ExecuteQuery and some utilities.

The SqlTypes are used in Metadata returned by the ExecuteQuery operation as well as for specifying query parameter types explicitly.

Classes

Metadata

Metadata()

Base class for metadata returned by the ExecuteQuery operation.

ProtoMetadata

ProtoMetadata(
    columns: typing.Optional[
        typing.List[
            typing.Tuple[
                typing.Optional[str],
                google.cloud.bigtable.data.execute_query.metadata.SqlType.Type,
            ]
        ]
    ] = None
)

Metadata class for the ExecuteQuery operation.

Parameter
Name Description
columns List[Tuple[Optional[str], SqlType.Type]]

List of column metadata tuples. Each tuple contains the column name and the column type.

SqlType

SqlType()

Classes denoting types of values returned by Bigtable's ExecuteQuery operation.

Used in .Metadata.