Hi Ted Yu,

I guess Krishna mention about Pig's HBaseStorage class. I found out
this by searching the class on google. IMHO I find a solution for my
problem. I can use Scan.setTimeRange[0] method. If I want to get
smaller records from timestamp, minTimestamp is set 0 and maxtimestamp
is set the timestamp. I guess this solution works for my problem.

Thanks Ted and Krishna.

[0] 
https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/client/Scan.html#setTimeRange(long,%20long)

2015-06-09 16:08 GMT+03:00 Ted Yu <yuzhih...@gmail.com>:
> Is HBaseStorage class in hbase repo ?
>
> I can't find it in 0.98 or hbase-1 branches.
>
> Cheers
>
> On Tue, Jun 9, 2015 at 3:51 AM, Krishna Kalyan <krishnakaly...@gmail.com>
> wrote:
>
>> Yes you can. Have a look at the HBaseStorage class.
>> On 9 Jun 2015 1:04 pm, "Talat Uyarer" <ta...@uyarer.com> wrote:
>>
>> > Hi,
>> >
>> > Can I use HBase's timestamps to gettting rows greater/smaller than
>> > this timestamp . Is it possible ?
>> >
>> > Thanks
>> >
>> > --
>> > Talat UYARER
>> > Websitesi: http://talat.uyarer.com
>> > Twitter: http://twitter.com/talatuyarer
>> > Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304
>> >
>>



-- 
Talat UYARER
Websitesi: http://talat.uyarer.com
Twitter: http://twitter.com/talatuyarer
Linkedin: http://tr.linkedin.com/pub/talat-uyarer/10/142/304

Reply via email to