【发布时间】:2016-07-15 10:37:41
【问题描述】:
我在 Apache Phoenix 中搜索 Hbase 前缀过滤器,它在 phoenix 中可用吗? 我的 rowkey 像 12345_@_)*6 现在我想在 Apache Phoenix 的 Hbase 扫描下运行:-
scan 'tablename',{FILTER=>"PrefixFilter('12345_@')"}
【问题讨论】:
标签: hadoop hbase phoenix nosql
我在 Apache Phoenix 中搜索 Hbase 前缀过滤器,它在 phoenix 中可用吗? 我的 rowkey 像 12345_@_)*6 现在我想在 Apache Phoenix 的 Hbase 扫描下运行:-
scan 'tablename',{FILTER=>"PrefixFilter('12345_@')"}
【问题讨论】:
标签: hadoop hbase phoenix nosql
使用sqllike操作符:select * from tablename where yourrowkey like '12345_@%'
Phoenix 会为您翻译成过滤器。
【讨论】: