Cloud Bigtable Client - Class ChainFilter (2.2.1)

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
Name Description
filter Google\Cloud\Bigtable\Filter\FilterInterface

A filter to add to the chain.

Returns
Type Description
Google\Cloud\Bigtable\Filter\ChainFilter

toProto

Get the proto representation of the filter.

Returns
Type Description
Google\Cloud\Bigtable\V2\RowFilter