hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna Kalyan <krishnakaly...@gmail.com>
Subject Re: Version in HBase
Date Wed, 12 Nov 2014 05:47:53 GMT
For Example for table 'test_table', Values inserted are:

Row1 - Val1 => t
Row1 - Val2 => t + 3
Row1 - Val3 => t + 5

Row2 - Val1 => t
Row2 - Val2 => t + 3
Row2 - Val3 => t + 5

on scan 'test_table' where version = t + 4 should return
Row1 - Val1 => t + 3
Row2 - Val2 => t + 3

How do i achieve time stamp based scans?.

Thanks and Regards,
Krishna




On Wed, Nov 12, 2014 at 10:56 AM, Krishna Kalyan <krishnakalyan3@gmail.com>
wrote:

> Hi,
> Is it possible to do a
> select * from <table_name> where version = "somedate" ; using HBase APIs?.
> (Scanning for values where version <= "somedate" )
> Could you please direct me to appropriate links to achieve this?.
>
>
> Regards,
> Krishna
>
>
>

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