8000 Bigtable: Fixing a typo for KeyOffSet#geyKey to getKey by rahulKQL · Pull Request #4342 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
8000
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ public static KeyOffset create(ByteString key, long offsetBytes) {
* <p>Note that row key may not have ever been written to or read from, and users should therefore
* not make any assumptions about the row key structure that are specific to their use case.
*/
public abstract ByteString geyKey();
public abstract ByteString getKey();

/**
* Approximate total storage space used by all rows in the table which precede {@link #geyKey()}.
* Approximate total storage space used by all rows in the table which precede {@link #getKey()}.
* Buffering the contents of all rows between two subsequent samples would require space roughly
* equal to the difference in their {@link #getOffsetBytes()} fields.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,8 @@ public List<Query> shard(List<KeyOffset> sampledRowKeys) {
ImmutableSortedSet.orderedBy(ByteStringComparator.INSTANCE);

for (KeyOffset keyOffset : sampledRowKeys) {
if (!keyOffset.geyKey().isEmpty()) {
splitPoints.add(keyOffset.geyKey());
if (!keyOffset.getKey().isEmpty()) {
splitPoints.add(keyOffset.getKey());
}
}

Expand Down
0