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 07:38:20 UTC
[jira] [Commented] (HBASE-8779) add mutateRow method support to
thrift2
[ https://issues.apache.org/jira/browse/HBASE-8779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690048#comment-13690048 ]
duanhongyi commented on HBASE-8779:
-----------------------------------
patch hbase.thrift thrift2-HBASE-8779.patch
patch ThriftHBaseServiceHandler.java thrift-ThriftHBaseServiceHandler.java-HBASE-8779.patch
patch ThriftUtilities.java thrift-ThriftUtilities.java-HBASE-8779.patch
> 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