Hi,

I need some suggestions regarding usage of Put and ResultScanner's Result.

First, the Result. Since we are using Object to row(s) we do a
conversion of Object to row and vice versa. When doing row to object I
am doing something like Result.next(int) then every result is
converted to to its object in their individual thread, i.e. conversion
of row to object takes place parallelly. Now my question is, will it
have any effect if this conversion does take place in parallel?

Second, when doing object to row, we are mapping a one to many
relation in a specific column family, e.g. cf1, now when I will update
the row I will populate cf1 with values set newly, e.g. old values are
1,2,3 and new values are 1,3,4, now I will populate cf1 to have 1,3,4.
Now my first question is what will happen to the value '2'? When I do
a scan/get on that row will cf1 return 1,3,4 or 1,2,3,4? If the answer
is 1,2,3,4, when getting cf1 I want to get 1,3,4 only as it was set
and not 2, what is the best way to achieve it?

Thank you,

-- 
Imran M Yousuf
Twitter: @imyousuf - http://twitter.com/imyousuf
Blog: http://imyousuf-tech.blogs.smartitengineering.com/
Mobile: +880-1711402557

Reply via email to