Class ValueBitmaskFilter (2.38.0)

ValueBitmaskFilter(mask)

Row filter for a value bitmask.

Matches only cells with values that satisfy the condition (value & mask) == mask. The mask length must exactly match the value length, otherwise the cell is not considered a match.

Parameter

Name Description
mask bytes or str

A bitmask to match against cells with values. String values will be encoded as ASCII.

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

Returns
Type Description
.data_v2_pb2.RowFilter The converted current object.