Class ValueRangeFilter (2.24.0)

ValueRangeFilter(
    start_value: typing.Optional[typing.Union[bytes, int]] = None,
    end_value: typing.Optional[typing.Union[bytes, int]] = None,
    inclusive_start: typing.Optional[bool] = None,
    inclusive_end: typing.Optional[bool] = 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:True if start_value is passed and no inclusive_start was given.

inclusive_end bool

Boolean indicating if the end value should be included in the range (or excluded). Defaults to :data:True if end_value is passed and no inclusive_end was given.