Details
Description
There are many uses cases for setting bits flags and being able filter on those seems like a good idea.
The BitComparator would take a byte[] and a bitwise operator for its constructor. It would perform the bitwise operation on the column value bytes with the specified byte[]. Then return whether the result was non-zero.
Only the CompareOp.EQUAL and CompareOp.NOT_EQUAL would make sense with this comparator.
The binary bitwise operators that apply are AND, OR, and XOR.
Attachments
Attachments
Issue Links
- is related to
-
HBASE-5204 Backward compatibility fixes for 0.92
- Closed