Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Scanning columns

Copy link to this message
Re: Scanning columns

This sounds like you are looking for ColumnRangeFilter?

Best Regards,

On Wednesday, July 18, 2012, Mohit Anchlia wrote:

> I am designing a HBase schema as a timeseries model. Taking advice from the
> definitive guide and tsdb I am planning to use my row key as
> "metricname:Long.MAX_VALUE - basetimestamp". And the column names would be
> "timestamp-base timestamp". My col names would then look like 1,2,3,4,5
> .. for instance. I am looking at Java API to see if I can do a range scan
> of columns, can I say fetch me columns starting at 1 and stop at 4? I see a
> scanner class for row scans but wondering if columns are sorted before
> storing and if I can do a range scan on them too.