Package | Description |
---|---|
com.google.cloud.spanner |
A client for Cloud Spanner - A no-compromise relational database service.
|
Modifier and Type | Method and Description |
---|---|
KeyRange |
KeyRange.Builder.build() |
static KeyRange |
KeyRange.closedClosed(Key start,
Key end)
Returns a key range from
start inclusive to end inclusive. |
static KeyRange |
KeyRange.closedOpen(Key start,
Key end)
Returns a key range from
start inclusive to end exclusive. |
static KeyRange |
KeyRange.openClosed(Key start,
Key end)
Returns a key range from
start exclusive to end inclusive. |
static KeyRange |
KeyRange.openOpen(Key start,
Key end)
Returns a key range from
start exclusive to end exclusive. |
static KeyRange |
KeyRange.prefix(Key prefix)
Returns a key range that covers all keys where the first
prefix.size() components match
prefix exactly. |
Modifier and Type | Method and Description |
---|---|
Iterable<KeyRange> |
KeySet.getRanges()
Returns the ranges in this set.
|
Modifier and Type | Method and Description |
---|---|
KeySet.Builder |
KeySet.Builder.addRange(KeyRange range)
Adds a range to the key set.
|
static KeySet |
KeySet.range(KeyRange range)
Creates a key set containing a single range.
|
Copyright © 2022 Google LLC. All rights reserved.