Filters in HBASE

 ̄綄美尐妖づ 提交于 2019-12-25 18:52:06

问题


How can i use the following Filters in HBASE efficiently by PHP?
http://svn.apache.org/repos/asf/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/filter/


回答1:


You can always port the code to PHP. But if you don't feel up for that. The only other option i know of is the Java Bridge.

I never used it before. But you should be able to do things like:

$filter = new Java("org.apache.hadoop.hbase.filter.BinaryComparator", "bin value");

http://files.zend.com/help/Zend-Server-Community-Edition/working_with_the_java_bridge.htm



来源:https://stackoverflow.com/questions/5348721/filters-in-hbase

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!