We should open a JIRA for adding more optional members to the Thrift Mutation union for the currently lacking ops.
On Mon, Nov 4, 2013 at 12:54 AM, ramkrishna vasudevan < ramkrishna.s.vasude...@gmail.com> wrote: > >>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 <anoop.hb...@gmail.com> 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 < > > ramkrishna.s.vasude...@gmail.com> 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 > > > > > > -- Best regards, - Andy Problems worthy of attack prove their worth by hitting back. - Piet Hein (via Tom White)