Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # dev >> Thrift package and Mutations


Copy link to this message
-
Re: Thrift package and Mutations
>>This TMutation  is used with Atomic mutation of a row. There we can only
pass Put/Delete.  See HRegion for impl also
I saw this implementation.
The point is Increment/Append extends Mutation as per the definition in
java.  Hence in thrift also we could have it like that.

Regards
Ram
On Mon, Nov 4, 2013 at 11:21 AM, Anoop John <[EMAIL PROTECTED]> wrote:

> >Found that the thrift does not have the support for Append
> Yes I too can not see. Missed before?
> >also that under
> mutations we have only Put and Delete
>
> This TMutation  is used with Atomic mutation of a row. There we can only
> pass Put/Delete.  See HRegion for impl also
>
> -Anoop-
> On Mon, Nov 4, 2013 at 11:06 AM, ramkrishna vasudevan <
> [EMAIL PROTECTED]> wrote:
>
> > Hi Devs
> >
> > Found that the thrift does not have the support for Append, also that
> under
> > mutations we have only Put and Delete.  The Append and Increment does not
> > fall under the mutations.
> >
> > {code}
> > /**
> >  * Atomic mutation for the specified row. It can be either Put or Delete.
> >  */
> > union TMutation {
> >   1: optional TPut put,
> >   2: optional TDelete deleteSingle,
> > }
> > {code}
> > Was it done intentionally?  Or they are things to be done on thrift ?
> >
> > Regards
> > Ram
> >
>