2.42.0 (latest) 2.41.0 2.40.0 2.39.0 2.38.0 2.37.0 2.36.0 2.35.0 2.34.0 2.33.0 2.32.0 2.31.0 2.30.1 2.29.0 2.28.1 2.26.0 2.25.0 2.24.0 2.23.1 2.22.0 2.21.0 2.20.0 2.19.0 2.18.1 2.17.0 2.16.0 2.15.0 2.14.1 2.13.2 2.12.0 2.11.3 2.10.1 2.9.0 2.8.1 2.7.1 2.6.0 2.5.2 2.4.0 2.3.3 2.2.0 2.1.0 2.0.0 1.7.3 1.6.1 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.0 0.34.0

    RowRange(
        start_key: typing.Optional[typing.Union[str, bytes]] = None,
        end_key: typing.Optional[typing.Union[str, bytes]] = None,
        start_is_inclusive: typing.Optional[bool] = None,
        end_is_inclusive: typing.Optional[bool] = None,
    )

Represents a range of keys in a ReadRowsQuery

## Properties

### end_is_inclusive

Indicates if the range is inclusive of the end key.

If the range is unbounded on the right, this will return True.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` | Whether the range is inclusive of the end key. |

### end_key

Returns the end key of the range. If None, the range is unbounded on the right.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bytes None` | The end key of the range, or None if the range is unbounded on the right. |

### start_is_inclusive

Indicates if the range is inclusive of the start key.

If the range is unbounded on the left, this will return True.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` | Whether the range is inclusive of the start key. |

### start_key

Returns the start key of the range. If None, the range is unbounded on the left.

## Methods

### __bool__

    __bool__() -> bool

Empty RowRanges (representing a full table scan) are falsy, because
they can be substituted with None. Non-empty RowRanges are truthy.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` | True if the RowRange is not empty, False otherwise |

### __str__

    __str__() -> str

Represent range as a string, e.g. "\[b'a', b'z)"

Unbounded start or end keys are represented as "-inf" or "+inf"

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `str` | The string representation of the range |