public void send_drop_partition(string db_name, string tbl_name, List<string> part_vals, bool deleteData) { oprot_.WriteMessageBegin(new TMessage("drop_partition", TMessageType.Call, seqid_)); drop_partition_args args = new drop_partition_args(); args.Db_name = db_name; args.Tbl_name = tbl_name; args.Part_vals = part_vals; args.DeleteData = deleteData; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }
public void drop_partition_Process(int seqid, TProtocol iprot, TProtocol oprot) { drop_partition_args args = new drop_partition_args(); args.Read(iprot); iprot.ReadMessageEnd(); drop_partition_result result = new drop_partition_result(); try { result.Success = iface_.drop_partition(args.Db_name, args.Tbl_name, args.Part_vals, args.DeleteData); } catch (NoSuchObjectException o1) { result.O1 = o1; } catch (MetaException o2) { result.O2 = o2; } oprot.WriteMessageBegin(new TMessage("drop_partition", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }