ValueRangeFilter(
start_value=None, end_value=None, inclusive_start=None, inclusive_end=None
)
A range of values to restrict to in a row filter.
Will only match cells that have values in this range.
Both the start and end value can be included or excluded in the range. By default, we include them both, but this can be changed with optional flags.
Parameters | |
---|---|
Name | Description |
start_value |
bytes
The start of the range of values. If no value is used, the backend applies no lower bound to the values. |
end_value |
bytes
The end of the range of values. If no value is used, the backend applies no upper bound to the values. |
inclusive_start |
bool
Boolean indicating if the start value should be included in the range (or excluded). Defaults to :data: |
inclusive_end |
bool
Boolean indicating if the end value should be included in the range (or excluded). Defaults to :data: |
Methods
to_pb
to_pb()
Converts the row filter to a protobuf.
First converts to a .data_v2_pb2.ValueRange
and then uses
it to create a row filter protobuf.
Returns | |
---|---|
Type | Description |
| The converted current object. |