googleapis / googleapis/google-cloud-java

[java-bigtable] Add the ability to get Row cells in serverside order

オープン
#13,088 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
api: bigtable type: docs
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
154

説明

Bigtable stores data in the following order:
1. lexicographically by row key
2. family creation order
3. lexicographically by qualifier
4. reverse chronological by timestamp

The family ordering is not guaranteed so the data client currently pre-processes each row to change the ordering of families to be lexicographic order. This makes it convenient to do binary searches for specific values.

Unfortunately, this has negative repercussions when combined with `cells_per_row_limit_filter` and `cells_per_row_offset_filter`. Those filters are executed on the server side using the family creation order.

At the very least we need to update our docs to caution users against using those filters outside of a chain that narrows it to a single family.

In addition we should expose the server ordering of the cells on each row as `Row#getRawCells()` (maybe with a better name).

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。