Vote count: 0 I have some data in Hbase. The structure of the key is like this userID(Integer)+dateTimeInMillis(Long). I used the following code in the past to get the rows between the range: Scan scan = new Scan(startKey.array(), endKey.array()); scan.addFamily(Bytes.toBytes("")); ResultScaer result = table.getScaer(scan); I need to know the userIds and TimeStamps in order to query the rows. One of my colleagues suggested I use fuzzyRowFilter to scan data for testing, I found it very helpful. I have played around a little with the fuzzyRowFilter. This is how I was able to achieve the result against all the userID for one day. List keys = new ArrayList(); keys.add(new Pair( startKey.array(),...
ادامه مطلب