public void send_mutateRows(byte[] tableName, List<BatchMutation> rowBatches) { this.oprot_.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Call, this.seqid_)); var args = new mutateRows_args(); args.TableName = tableName; args.RowBatches = rowBatches; args.Write(this.oprot_); this.oprot_.WriteMessageEnd(); this.oprot_.Transport.Flush(); }
public void send_mutateRows(byte[] tableName, List<BatchMutation> rowBatches, Dictionary<byte[], byte[]> attributes) #endif { oprot_.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Call, seqid_)); mutateRows_args args = new mutateRows_args(); args.TableName = tableName; args.RowBatches = rowBatches; args.Attributes = attributes; args.Write(oprot_); oprot_.WriteMessageEnd(); #if SILVERLIGHT return oprot_.Transport.BeginFlush(callback, state); #else oprot_.Transport.Flush(); #endif }
public void mutateRows_Process(int seqid, TProtocol iprot, TProtocol oprot) { var args = new mutateRows_args(); args.Read(iprot); iprot.ReadMessageEnd(); var result = new mutateRows_result(); try { this.iface_.mutateRows(args.TableName, args.RowBatches); } catch (IOError io) { result.Io = io; } catch (IllegalArgument ia) { result.Ia = ia; } oprot.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void mutateRows_Process(int seqid, TProtocol iprot, TProtocol oprot) { mutateRows_args args = new mutateRows_args(); args.Read(iprot); iprot.ReadMessageEnd(); mutateRows_result result = new mutateRows_result(); try { iface_.mutateRows(args.tableName, args.rowBatches); } catch (IOError io) { result.io = io; result.__isset.io = true; } catch (IllegalArgument ia) { result.ia = ia; result.__isset.ia = true; } oprot.WriteMessageBegin(new TMessage("mutateRows", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }