Class FamilyNameRegexFilter (2.16.0)

FamilyNameRegexFilter(regex)

Row filter for a family name 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 str

A regular expression (RE2) to match cells from columns in a given column family. For technical reasons, the regex must not contain the ':' character, even if it is not being used as a literal.

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

Returns
TypeDescription
.data_v2_pb2.RowFilterThe converted current object.