| Modifier and Type | Class and Description |
|---|---|
static class |
RowSetUtil.Split
Represents a RowSet split into 2 non-overlapping parts.
|
| Modifier and Type | Method and Description |
|---|---|
static Range.ByteStringRange |
getBound(RowSet rowSet)
Get the bounding range of a
RowSet. |
static List<RowSet> |
shard(RowSet rowSet,
SortedSet<com.google.protobuf.ByteString> splitPoints)
Splits the provided
RowSet into segments partitioned by the provided splitPoints. |
static RowSetUtil.Split |
split(RowSet rowSet,
com.google.protobuf.ByteString splitPoint)
Splits the provided
RowSet along the provided splitPoint into 2 segments. |
@Nonnull public static RowSetUtil.Split split(@Nonnull RowSet rowSet, @Nonnull com.google.protobuf.ByteString splitPoint)
@Nonnull public static List<RowSet> shard(@Nonnull RowSet rowSet, @Nonnull SortedSet<com.google.protobuf.ByteString> splitPoints)
RowSet into segments partitioned by the provided splitPoints. Each split point represents the last row of the corresponding segment. The row
keys contained in the provided RowSet will be distributed across the segments. Each
range in the RowSet will be split up across each segment.for more details.public static Range.ByteStringRange getBound(RowSet rowSet)
RowSet.Copyright © 2018 Google LLC. All rights reserved.