Class KeyRange (1.14.0)

KeyRange(start_open=None, start_closed=None, end_open=None, end_closed=None)

Identify range of table rows via start / end points.

Specify either a start_open or start_closed key, or defaults to start_closed = []. Specify either an end_open or end_closed key, or defaults to end_closed = []. However, at least one key has to be specified. If no keys are specified, ValueError is raised.

Parameters

Name Description
start_open list of scalars

keys identifying start of range (this key excluded)

start_closed list of scalars

keys identifying start of range (this key included)

end_open list of scalars

keys identifying end of range (this key excluded)

end_closed list of scalars

keys identifying end of range (this key included)

Methods

__eq__

__eq__(other)

Compare by serialized state.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年12月16日 UTC.