Re: Scanning over key values timestamp?

2011-02-18 Thread Ted Yu
From Scan.java: * To only retrieve columns within a specific range of version timestamps, * execute {@link #setTimeRange(long, long) setTimeRange}. On Fri, Feb 18, 2011 at 6:48 AM, Jason Rutherglen jason.rutherg...@gmail.com wrote: For search integration we need to, on server reboot scan

Re: Scanning over key values timestamp?

2011-02-18 Thread Jason Rutherglen
Thanks Ted! Is there some underlying efficiency to this, or will it be scanning all of the rows underneath? On Fri, Feb 18, 2011 at 7:47 AM, Ted Yu yuzhih...@gmail.com wrote: From Scan.java:  * To only retrieve columns within a specific range of version timestamps,  * execute {@link

Re: Scanning over key values timestamp?

2011-02-18 Thread Ryan Rawson
There is minimal/no underlying efficiency. It's basically a full table/region scan with a filter to discard the uninteresting values. We have various timestamp filtering techniques to avoid reading from files, eg: if you specify a time range [100,200) and a hfile only contains [0,50) we'll not

Re: Scanning over key values timestamp?

2011-02-18 Thread Jason Rutherglen
Ryan, thanks, I think a full scan'll be fine as it's a one time event on startup/recovery, and I am curious either way. On Fri, Feb 18, 2011 at 10:08 AM, Ryan Rawson ryano...@gmail.com wrote: There is minimal/no underlying efficiency. It's basically a full table/region scan with a filter to