You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "duanhongyi (JIRA)" <ji...@apache.org> on 2013/06/21 04:13:19 UTC

[jira] [Updated] (HBASE-8779) add mutateRow method support to thrift2

     [ https://issues.apache.org/jira/browse/HBASE-8779?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

duanhongyi updated HBASE-8779:
------------------------------

    Attachment: thrift-ThriftUtilities.java-HBASE-8779.patch
                thrift-ThriftHBaseServiceHandler.java-HBASE-8779.patch
                thrift2-HBASE-8779.patch

ThriftHBaseServiceHandler.java
ThriftUtilities.java
thrift2/hbase.thrift

                
> add mutateRow method support to thrift2
> ---------------------------------------
>
>                 Key: HBASE-8779
>                 URL: https://issues.apache.org/jira/browse/HBASE-8779
>             Project: HBase
>          Issue Type: New Feature
>          Components: Thrift
>            Reporter: duanhongyi
>         Attachments: thrift2-HBASE-8779.patch, thrift-ThriftHBaseServiceHandler.java-HBASE-8779.patch, thrift-ThriftUtilities.java-HBASE-8779.patch
>
>
> examples py:
> TPut put = TPut()
> m1 = TMutation(put=put)
> TDelete single_delete = TDelete()
> m2 = TMutation(singleDelete=single_delete)
> row_mu = TRowMutations(row,[m1,m2])
> thbase_service.mutateRow(table,row_mu)  # atomically on a single row

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira