Cloud Bigtable Client - Class ChainFilter (1.27.0)

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

Chains together multiple filters.

Example:

use Google\Cloud\Bigtable\Filter;

$chainFilter = Filter::chain();

Namespace

Google \ Cloud \ Bigtable \ Filter

Methods

addFilter

Adds a filter to the chain.

Example:

use Google\Cloud\Bigtable\Filter;

$chainFilter->addFilter(
    Filter::qualifier()->regex('prefix.*')
);
Parameter
NameDescription
filter Google\Cloud\Bigtable\Filter\FilterInterface

A filter to add to the chain.

Returns
TypeDescription
Google\Cloud\Bigtable\Filter\ChainFilter

toProto

Get the proto representation of the filter.

Returns
TypeDescription
Google\Cloud\Bigtable\V2\RowFilter