Cloud Bigtable V2 Client - Class ColumnMetadata (2.4.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class ColumnMetadata.

Describes a column in a Bigtable Query Language result set.

Generated from protobuf message google.bigtable.v2.ColumnMetadata

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The name of the column.

↳ type Google\Cloud\Bigtable\V2\Type

The type of the column.

getName

The name of the column.

Returns
Type Description
string

setName

The name of the column.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

The type of the column.

Returns
Type Description
Google\Cloud\Bigtable\V2\Type|null

hasType

clearType

setType

The type of the column.

Parameter
Name Description
var Google\Cloud\Bigtable\V2\Type
Returns
Type Description
$this