Class ApplyLabelFilter (2.11.2)

ApplyLabelFilter(label)

Filter to apply labels to cells.

Intended to be used as an intermediate filter on a pre-existing filtered result set. This way if two sets are combined, the label can tell where the cell(s) originated.This allows the client to determine which results were produced from which part of the filter.

Parameter

NameDescription
label str

Label to apply to cells in the output row. Values must be at most 15 characters long, and match the pattern [a-z0-9\-]+.

Inheritance

builtins.object > RowFilter > ApplyLabelFilter

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

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