Re: Query data like opentsdb

2018-02-19 Thread Ted Yu
Have you looked at FuzzyRowFilter ? Cheers On Mon, Feb 19, 2018 at 8:00 AM, kitex101 wrote: > I have key design like:byte[] rowKey = > =Bytes.add(Bytes.toBytes("3"),Bytes.toBytes(customer_id), > Bytes.toBytes(timestamp)); > customer_id and timestamp are long type. As

Query data like opentsdb

2018-02-19 Thread kitex101
I have key design like:byte[] rowKey = =Bytes.add(Bytes.toBytes("3"),Bytes.toBytes(customer_id),Bytes.toBytes(timestamp)); customer_id and timestamp are long type. As opentsdb uses:[…]I would like to filter my key by customer_id and timestamp. How do I do that?I have tried using prefixfilter.