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

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

public get_database_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
Результат void
            public void get_database_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                get_database_args args = new get_database_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                get_database_result result = new get_database_result();
                try
                {
                    result.Success = iface_.get_database(args.Name);
                }
                catch (NoSuchObjectException o1)
                {
                    result.O1 = o1;
                }
                catch (MetaException o2)
                {
                    result.O2 = o2;
                }
                oprot.WriteMessageBegin(new TMessage("get_database", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }