0

how can you intercept what is being queried in hbase? I saw that you can intercept preGetOp and preScannerOpen but I can't figure out to see what column families and column qualifiers are being queried. how do you see that?

I am willing to write a coprocessor to intercept the query and search in a secondary-indexed table...

Alex
  • 2,126
  • 3
  • 25
  • 47

1 Answers1

0

You should use the Scan object that you get as a parameter to the preScannerOpen method - it has methods like getFamilies, getFilter etc.

Arnon Rotem-Gal-Oz
  • 25,469
  • 3
  • 45
  • 68