Bigtable: add helper methods to Rows to efficiently fetch qualifier values #4055
Labels
api: bigtable
Issues related to the Bigtable API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
A Row is currently a flat list of cells. The cells have a particular order: all cells for a column family are clustered (NOTE: column families are not sorted, only clustered.) and then sorted lexicographically by qualifier. To expose this behavior to the user we should have 3 methods that on the Row class:
These methods should efficiently return a list of matching cells. To implement this efficiently, the
Row
class should includeMap
of index ranges for each family cluster, which should populated by theRowMerger
. Then the 3 methods could use a combination of index lookups (for the family) and binary searches (for the qualifier) to return the matching cells.The text was updated successfully, but these errors were encountered: