public void send_batch_insert_blocking(batch_mutation_t batchMutation) { oprot_.WriteMessageBegin(new TMessage("batch_insert_blocking", TMessageType.Call, seqid_)); batch_insert_blocking_args args = new batch_insert_blocking_args(); args.batchMutation = batchMutation; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public bool batch_insert_blocking(batch_mutation_t batchMutation) { send_batch_insert_blocking(batchMutation); return recv_batch_insert_blocking(); }
public void Read(TProtocol iprot) { TField field; TStruct struc = iprot.ReadStructBegin(); while (true) { field = iprot.ReadFieldBegin(); if (field.Type == TType.Stop) { break; } switch (field.ID) { case -1: if (field.Type == TType.Struct) { this.batchMutation = new batch_mutation_t(); this.batchMutation.Read(iprot); this.__isset.batchMutation = true; } else { TProtocolUtil.Skip(iprot, field.Type); } break; default: TProtocolUtil.Skip(iprot, field.Type); break; } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); }
public void batch_insert(batch_mutation_t batchMutation) { send_batch_insert(batchMutation); }