簡體   English   中英

hbase僅使用Java獲取hbase表中的行而不是非null列(使用條件的現有列)

[英]hbase get Rows only not null columns(Existing columns using condition)- in hbase table using java

在hbase表中,我有30列。例如c1,c2,c3,c4 ...... c30。並且cf是列族。 在一行中,我有c1到c5列在這樣的某行c1,c3,c4,c6,c23中。 所以我只希望行c2和c3不為空,意味着這兩行必須存在於行中。 如果我使用columnPrefix過濾器它僅適用於一列,但不能超過一列。我可以使用哪個過濾器。Iam使用hbase 0.98.3 verion

您可能想嘗試使用MultipleColumnPrefixFilter。 查看以下cloudera文檔以供使用。

http://www.cloudera.com/content/cloudera/en/documentation/core/latest/topics/admin_hbase_filtering.html

這是帶有示例的另一個鏈接。

http://www.hadooptpoint.com/filters-in-hbase-shell/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM