hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ding, Hui" <hui.d...@sap.com>
Subject RE: [LIKELY JUNK]Question on update
Date Tue, 04 Nov 2008 18:51:50 GMT
Why do you need to compare it? Just store a new version for every
attribute/column that is not null.

-----Original Message-----
From: Michael Dagaev [mailto:michael.dagaev@gmail.com] 
Sent: Tuesday, November 04, 2008 10:32 AM
To: hbase-user@hadoop.apache.org
Subject: [LIKELY JUNK]Question on update

Hi, all

    Let there is a row in People table. The column family Details
consists of name, address, and email.
Now I have a Person object which corresponds to this row. This object
contains name and address
but email is null.

    In order to update the row with the new data from the Person
object. I have to read the row, compare it
with my object and store only the difference. Is it correct?

Thank you for your cooperation,

View raw message