hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barney Frank <barneyfran...@gmail.com>
Subject Re: working with versions
Date Sun, 09 May 2010 18:03:44 GMT
There is a method on the table to increment values:

someHBaseTable.incrementColumnValue()
Look it up in the javadocs.

On Sun, May 9, 2010 at 10:03 AM, Lior Schachter <liors@infolinks.com> wrote:

> Hi,
>
> Suppose I want to keep aggregated data (e.g. counters) per day for a year
> or
> so (this way I can query hbase on a specific date range).
>
> Is the proper way to do this is to use the in-built versions mechanism of a
> column i.e. open a new version every day and then when query - sum the
> right
> versions values ?
>
>
>
> Is there an alternative solution,
>
>
>
> Thanks,
>
>
>
> Lior
>
>

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