Exemple #1
0
 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();
 }
Exemple #2
0
 public bool batch_insert_blocking(batch_mutation_t batchMutation)
 {
     send_batch_insert_blocking(batchMutation);
       return recv_batch_insert_blocking();
 }
Exemple #3
0
 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();
 }
Exemple #4
0
 public void batch_insert(batch_mutation_t batchMutation)
 {
     send_batch_insert(batchMutation);
 }