Exemplo n.º 1
0
 public void send_getThriftSchema()
 {
     oprot_.WriteMessageBegin(new TMessage("getThriftSchema", TMessageType.Call, seqid_));
     getThriftSchema_args args = new getThriftSchema_args();
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }
Exemplo n.º 2
0
 public void getThriftSchema_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     getThriftSchema_args args = new getThriftSchema_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     getThriftSchema_result result = new getThriftSchema_result();
     try
     {
         result.Success = iface_.getThriftSchema();
     }
     catch (HiveServerException ex)
     {
         result.Ex = ex;
     }
     oprot.WriteMessageBegin(new TMessage("getThriftSchema", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }