in src/hbase/client/result.cc [58:69]
const std::shared_ptr<Cell> Result::ColumnLatestCell(const std::string &family,
const std::string &qualifier) const {
// TODO implement a BinarySearch here ?
for (const auto &cell : cells_) {
// We find the latest(first) occurrence of the Cell for a given column and
// qualifier and break
if (cell->Family() == family && cell->Qualifier() == qualifier) {
return cell;
}
}
return nullptr;
}