Apache.Hadoop.Hive.ThriftHive.Processor.execute_Process C# (CSharp) Method

execute_Process() public method

public execute_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return void
            public void execute_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                execute_args args = new execute_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                execute_result result = new execute_result();
                try
                {
                    iface_.execute(args.Query);
                }
                catch (HiveServerException ex)
                {
                    result.Ex = ex;
                }
                oprot.WriteMessageBegin(new TMessage("execute", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }