示例#1
0
 public void mutateRowsTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new mutateRowsTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new mutateRowsTs_result();
     try
     {
         this.iface_.mutateRowsTs(args.TableName, args.RowBatches, args.Timestamp);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     catch (IllegalArgument ia)
     {
         result.Ia = ia;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRowsTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
示例#2
0
 public void recv_mutateRowsTs()
 {
     TMessage msg = this.iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception)
     {
         TApplicationException x = TApplicationException.Read(this.iprot_);
         this.iprot_.ReadMessageEnd();
         throw x;
     }
     var result = new mutateRowsTs_result();
     result.Read(this.iprot_);
     this.iprot_.ReadMessageEnd();
     if (result.__isset.io)
     {
         throw result.Io;
     }
     if (result.__isset.ia)
     {
         throw result.Ia;
     }
     return;
 }
示例#3
0
文件: Hbase.cs 项目: charliem/OCM
 public void mutateRowsTs_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     mutateRowsTs_args args = new mutateRowsTs_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     mutateRowsTs_result result = new mutateRowsTs_result();
     try {
       iface_.mutateRowsTs(args.tableName, args.rowBatches, args.timestamp);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (IllegalArgument ia) {
       result.ia = ia;
       result.__isset.ia = true;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRowsTs", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }