hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Gray" <jl...@streamy.com>
Subject RE: Scan for timestamp > some time
Date Tue, 03 Feb 2009 19:14:12 GMT

This is not currently possible.

The functionality you describe might be included as part of HBASE-880,
however it could be implemented with a Filter.

Unfortunately it wouldn't be as easy as writing a new Class implementing
RowFilterInterface because RFI.filterColumn() and RFI.filterRow() do not
take timestamp.  So you'd need to update RFI as well as the calls to filters
in the scanner code.

Either way, it is a valid feature request.


> -----Original Message-----
> From: Tom Nichols [mailto:tmnichols@gmail.com]
> Sent: Tuesday, February 03, 2009 10:47 AM
> To: hbase-user@hadoop.apache.org
> Subject: Scan for timestamp > some time
> Hi,
> I'm interesting in scanning for all columns inserted _after_ a certain
> timestamp.  The getScanner methods that take a timestamp return all
> columns _before_ that time.  Is there any way for me to accomplish
> what I'm trying to do without sending gobs of results over the wire
> that I have no interest in?  Is this possible maybe via a
> RowFilterInterface impl?
> If it's not doable currently, is it a valid feature request?
> Thanks in advance.
> -Tom

View raw message