Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bigtable: Fixing a typo for KeyOffSet#geyKey to getKey #4342

Merged
merged 1 commit into from
Jan 17, 2019
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
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