Re: cell level coprocessor

2015-05-17 Thread navdeep
hey thank you very much Alex for pointing me in right direction . -- View this message in context: http://apache-hbase.679495.n3.nabble.com/cell-level-coprocessor-tp4071463p4071520.html Sent from the HBase User mailing list archive at Nabble.com.

cell level coprocessor

2015-05-14 Thread Navdeep Agrawal
Hi, I am trying to use co processor to do some aggregations(eg topn) over all versions of a cell and return it . I found most of the aggregation implementation with coprocessors are done on column . how we can achieve for every cell in that column ,any ideas ,links ??? Use case - if I want

Re: cell level coprocessor

2015-05-14 Thread Alex Baranau
Hi Navdeep, I believe you will need to: * implement RegionScanner that would apply aggregation on Cell level * extend from BaseRegionObserver to force using your RegionScanner in preGet and preScan I don't have a simple example in front of me, but maybe the following will give you some pointers.