File tree Expand file tree Collapse file tree
google/cloud/bigtable/emulator Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ std::vector<Cell> ColumnFamilyRow::DeleteColumn(
8888}
8989
9090absl::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
157157absl::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 }
Original file line number Diff line number Diff 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 (); }
You can’t perform that action at this time.
0 commit comments