Class RowKeyRegexFilter (2.11.0)

RowKeyRegexFilter(regex)

Row filter for a row key regular expression.

The regex must be valid RE2 patterns. See Google's RE2 reference_ for the accepted syntax.

.. _RE2 reference: https://github.com/google/re2/wiki/Syntax

Parameter

NameDescription
regex bytes

A regular expression (RE2) to match cells from rows with row keys that satisfy this regex. For a CheckAndMutateRowRequest, this filter is unnecessary since the row key is already specified.

Inheritance

builtins.object > RowFilter > google.cloud.bigtable.row_filters._RegexFilter > RowKeyRegexFilter

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

Returns
TypeDescription
`.data_v2_pb2.RowFilter`The converted current object.