Apache.Hadoop.Hive.ThriftHiveMetastore.Client.recv_get_partitions_with_auth C# (CSharp) Method

recv_get_partitions_with_auth() public method

public recv_get_partitions_with_auth ( ) : List
return List
            public List<Partition> recv_get_partitions_with_auth()
            {
                TMessage msg = iprot_.ReadMessageBegin();
                if (msg.Type == TMessageType.Exception)
                {
                    TApplicationException x = TApplicationException.Read(iprot_);
                    iprot_.ReadMessageEnd();
                    throw x;
                }
                get_partitions_with_auth_result result = new get_partitions_with_auth_result();
                result.Read(iprot_);
                iprot_.ReadMessageEnd();
                if (result.__isset.success)
                {
                    return result.Success;
                }
                if (result.__isset.o1)
                {
                    throw result.O1;
                }
                if (result.__isset.o2)
                {
                    throw result.O2;
                }
                throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "get_partitions_with_auth failed: unknown result");
            }
ThriftHiveMetastore.Client