hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jameson Li <hovlj...@gmail.com>
Subject Re: Fuzzy Row filter with ranges
Date Fri, 05 Feb 2016 08:20:37 GMT
2016-02-01 19:08 GMT+08:00 Jean-Marc Spaggiari <jean-marc@spaggiari.org>:

> example of what you are trying to d


like query prefixKey%, you can struct a query like this
startRow=Bytes.toBytes(prefixKey) ,
stopRow=Bytes.add(prefixKey, new byte[]{(byte)0xff})

And be remember set setCacheBlocks(false), if the query will not query
repeat.

And remember let a certain start and end, even if as a PrefixScan(sometimes
just write start but not end, it maybe scan the whole bottom half of the
table), and let the section smaller with query more faster.


-- 


Thanks & Regards,
李剑 Jameson Li
Focus on Hadoop,Mysql

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message