Exemple #1
0
 public void send_mutateRow(byte[] tableName, byte[] row, List<Mutation> mutations)
 {
     this.oprot_.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Call, this.seqid_));
     var args = new mutateRow_args();
     args.TableName = tableName;
     args.Row = row;
     args.Mutations = mutations;
     args.Write(this.oprot_);
     this.oprot_.WriteMessageEnd();
     this.oprot_.Transport.Flush();
 }
Exemple #2
0
 public void mutateRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     var args = new mutateRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     var result = new mutateRow_result();
     try
     {
         this.iface_.mutateRow(args.TableName, args.Row, args.Mutations);
     }
     catch (IOError io)
     {
         result.Io = io;
     }
     catch (IllegalArgument ia)
     {
         result.Ia = ia;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemple #3
0
 public void mutateRow_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     mutateRow_args args = new mutateRow_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     mutateRow_result result = new mutateRow_result();
     try {
       iface_.mutateRow(args.tableName, args.row, args.mutations);
     } catch (IOError io) {
       result.io = io;
       result.__isset.io = true;
     } catch (IllegalArgument ia) {
       result.ia = ia;
       result.__isset.ia = true;
     }
     oprot.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
Exemple #4
0
 public void send_mutateRow(byte[] tableName, byte[] row, List<Mutation> mutations, Dictionary<byte[], byte[]> attributes)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Call, seqid_));
   mutateRow_args args = new mutateRow_args();
   args.TableName = tableName;
   args.Row = row;
   args.Mutations = mutations;
   args.Attributes = attributes;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Exemple #5
0
 public void send_mutateRow(byte[] tableName, byte[] row, List<Mutation> mutations)
 {
     oprot_.WriteMessageBegin(new TMessage("mutateRow", TMessageType.Call, seqid_));
     mutateRow_args args = new mutateRow_args();
     args.tableName = tableName;
     args.row = row;
     args.mutations = mutations;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }