hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lars George <lars.geo...@gmail.com>
Subject Re: TimeStampFilter - "type int out of range"
Date Mon, 20 Feb 2012 17:14:01 GMT
Hi Bing,

Add a "L" to the number, e.g. 

ts.add(new Long(1329640759372L));

Lars

On Feb 20, 2012, at 2:34 AM, Bing Li wrote:

> Dear all,
> 
> I am running the sample about TimeStampFilter as follows.
> 
>                List<Long> ts = new ArrayList<Long>();
>                ts.add(new Long(1329640759364));
>                ts.add(new Long(1329640759372));
>                ts.add(new Long(1329640759378));
>                Filter filter = new TimestampsFilter(ts);
> 
> When compiling the above code, the error is "type int out of range". But
> the time stamp is that long. How to handle this problem?
> 
> Thanks so much!
> 
> Best regards,
> Bing


Mime
View raw message