KeySet class

KeySet defines a collection of Cloud Spanner keys and/or key ranges.

All the keys are expected to be in the same table or index. The keys need not be sorted in any particular way. If the same key is specified multiple times in the set (for example if two ranges, two keys, or a key and a range overlap), Cloud Spanner behaves as if the key were only specified once.

Constructors

KeySet({bool? all, List<List<Object?>>? keys, List<KeyRange>? ranges})
KeySet.fromJson(Map json_)

Properties

all bool?
For convenience all can be set to true to indicate that this KeySet matches all keys in the table or index.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
keys List<List<Object?>>?
A list of specific keys.
getter/setter pair
ranges List<KeyRange>?
A list of key ranges.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited