hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Purtell <apurt...@yahoo.com>
Subject Re: Exist function?
Date Tue, 30 Dec 2008 15:46:24 GMT
Hello Thibaut,

I use get() on a column expected to exist if the row exists
for the given key and expected to contain only a small 
amount of data.

See https://issues.apache.org/jira/browse/HBASE-1102

    - Andy


> From: Thibaut_ <tbritz@blue.lu>
> Subject: Exist function?
> To: hbase-user@hadoop.apache.org
> Date: Tuesday, December 30, 2008, 5:32 AM
>
> On a few occasions, I have to check if a key exists in a
> table or not.
> 
> What's the best way to do it? The htable interface
> doesn't have any function to check if a key exists or
> not, and I have to specify at least one column when
> fetching a key.



      

Mime
View raw message