Skip to content

Commit 38a5a25

Browse files
committed
Merge branch 'upstream_emulator' into sample_row_keys
2 parents eab03f2 + 620fc1f commit 38a5a25

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

google/cloud/bigtable/emulator/column_family.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ std::vector<Cell> ColumnFamilyRow::DeleteColumn(
8888
}
8989

9090
absl::optional<Cell> ColumnFamilyRow::DeleteTimeStamp(
91-
std::string const& column_qulifier, std::chrono::milliseconds timestamp) {
92-
auto column_it = columns_.find(column_qulifier);
91+
std::string const& column_qualifier, std::chrono::milliseconds timestamp) {
92+
auto column_it = columns_.find(column_qualifier);
9393
if (column_it == columns_.end()) {
9494
return absl::nullopt;
9595
}
@@ -155,14 +155,14 @@ std::vector<Cell> ColumnFamily::DeleteColumn(
155155
}
156156

157157
absl::optional<Cell> ColumnFamily::DeleteTimeStamp(
158-
std::string const& row_key, std::string const& column_qulifier,
158+
std::string const& row_key, std::string const& column_qualifier,
159159
std::chrono::milliseconds timestamp) {
160160
auto row_it = rows_.find(row_key);
161161
if (row_it == rows_.end()) {
162162
return absl::nullopt;
163163
}
164164

165-
auto ret = row_it->second.DeleteTimeStamp(column_qulifier, timestamp);
165+
auto ret = row_it->second.DeleteTimeStamp(column_qualifier, timestamp);
166166
if (!row_it->second.HasColumns()) {
167167
rows_.erase(row_it);
168168
}

google/cloud/bigtable/emulator/column_family.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ class ColumnFamilyRow {
156156
* @return Cell representing deleted cell, if there was a cell with
157157
* that timestamp in then given column, otherwise absl::nullopt.
158158
*/
159-
absl::optional<Cell> DeleteTimeStamp(std::string const& column_qulifier,
159+
absl::optional<Cell> DeleteTimeStamp(std::string const& column_qualifier,
160160
std::chrono::milliseconds timestamp);
161161

162162
bool HasColumns() { return !columns_.empty(); }
@@ -269,7 +269,7 @@ class ColumnFamily {
269269
* otherwise absl::nullopt.
270270
*/
271271
absl::optional<Cell> DeleteTimeStamp(std::string const& row_key,
272-
std::string const& column_qulifier,
272+
std::string const& column_qualifier,
273273
std::chrono::milliseconds timestamp);
274274

275275
const_iterator begin() const { return rows_.begin(); }

0 commit comments

Comments
 (0)