Apache.Hadoop.Hive.ThriftHiveMetastore.Processor.get_schema_Process C# (CSharp) Метод

get_schema_Process() публичный Метод

public get_schema_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
Результат void
            public void get_schema_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                get_schema_args args = new get_schema_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                get_schema_result result = new get_schema_result();
                try
                {
                    result.Success = iface_.get_schema(args.Db_name, args.Table_name);
                }
                catch (MetaException o1)
                {
                    result.O1 = o1;
                }
                catch (UnknownTableException o2)
                {
                    result.O2 = o2;
                }
                catch (UnknownDBException o3)
                {
                    result.O3 = o3;
                }
                oprot.WriteMessageBegin(new TMessage("get_schema", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }