Apache.Hadoop.Hive.ThriftHiveMetastore.Processor.create_table_Process C# (CSharp) Method

create_table_Process() public method

public create_table_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return void
            public void create_table_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                create_table_args args = new create_table_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                create_table_result result = new create_table_result();
                try
                {
                    iface_.create_table(args.Tbl);
                }
                catch (AlreadyExistsException o1)
                {
                    result.O1 = o1;
                }
                catch (InvalidObjectException o2)
                {
                    result.O2 = o2;
                }
                catch (MetaException o3)
                {
                    result.O3 = o3;
                }
                catch (NoSuchObjectException o4)
                {
                    result.O4 = o4;
                }
                oprot.WriteMessageBegin(new TMessage("create_table", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }