Exemplo n.º 1
0
        public void ExportDataOutMahout_Process(int seqid, TProtocol iprot, TProtocol oprot)
        {
            ExportDataOutMahout_args args = new ExportDataOutMahout_args();

            args.Read(iprot);
            iprot.ReadMessageEnd();
            ExportDataOutMahout_result result = new ExportDataOutMahout_result();

            result.Success = iface_.ExportDataOutMahout(args.HiveTableName, args.MahoutTable);
            oprot.WriteMessageBegin(new TMessage("ExportDataOutMahout", TMessageType.Reply, seqid));
            result.Write(oprot);
            oprot.WriteMessageEnd();
            oprot.Transport.Flush();
        }
Exemplo n.º 2
0
        public void send_ExportDataOutMahout(string hiveTableName, string mahoutTable)
    #endif
        {
            oprot_.WriteMessageBegin(new TMessage("ExportDataOutMahout", TMessageType.Call, seqid_));
            ExportDataOutMahout_args args = new ExportDataOutMahout_args();

            args.HiveTableName = hiveTableName;
            args.MahoutTable   = mahoutTable;
            args.Write(oprot_);
            oprot_.WriteMessageEnd();
      #if SILVERLIGHT
            return(oprot_.Transport.BeginFlush(callback, state));
      #else
            oprot_.Transport.Flush();
      #endif
        }