Apache.Hadoop.Hive.ThriftHiveMetastore.partition_name_to_spec_result.Write C# (CSharp) Метод

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

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
Результат void
            public void Write(TProtocol oprot)
            {
                TStruct struc = new TStruct("partition_name_to_spec_result");
                oprot.WriteStructBegin(struc);
                TField field = new TField();

                if (this.__isset.success)
                {
                    if (Success != null)
                    {
                        field.Name = "Success";
                        field.Type = TType.Map;
                        field.ID = 0;
                        oprot.WriteFieldBegin(field);
                        {
                            oprot.WriteMapBegin(new TMap(TType.String, TType.String, Success.Count));
                            foreach (string _iter203 in Success.Keys)
                            {
                                oprot.WriteString(_iter203);
                                oprot.WriteString(Success[_iter203]);
                            }
                            oprot.WriteMapEnd();
                        }
                        oprot.WriteFieldEnd();
                    }
                }
                else if (this.__isset.o1)
                {
                    if (O1 != null)
                    {
                        field.Name = "O1";
                        field.Type = TType.Struct;
                        field.ID = 1;
                        oprot.WriteFieldBegin(field);
                        O1.Write(oprot);
                        oprot.WriteFieldEnd();
                    }
                }
                oprot.WriteFieldStop();
                oprot.WriteStructEnd();
            }
ThriftHiveMetastore.partition_name_to_spec_result