HBase-TDG ClientAPI Advanced Features
Advanced Features Filters HBase filters are a powerful feature that can greatly enhance your effectiveness working with data stored in tables. You will find predefined filters, already provided by HBase for your use, but also a framework you can use to implement your own. You will now be introduced to both. 这个feature从名字就知道, 在get和scan时, 需要做一些过滤, 所以需要Filter. HBase本身就实现很多的Filter, 你可以直接用, 当然你也可以定义custom的filter. 看个简单的例子, compare filter, 你需要给出比较标准(<,>,=), 和比较的逻辑comparator CompareFilter(CompareOp...