Apache.Hadoop.Hbase.Thrift.Hbase.createTable_args.Write C# (CSharp) Méthode

Write() public méthode

public Write ( TProtocol oprot ) : void
oprot Thrift.Protocol.TProtocol
Résultat void
            public void Write(TProtocol oprot)
            {
                TStruct struc = new TStruct("createTable_args");
                oprot.WriteStructBegin(struc);
                TField field = new TField();
                if (this.tableName != null) {
                  field.Name = "tableName";
                  field.Type = TType.String;
                  field.ID = 1;
                  oprot.WriteFieldBegin(field);
                  oprot.WriteBinary(this.tableName);
                  oprot.WriteFieldEnd();
                }
                if (this.columnFamilies != null) {
                  field.Name = "columnFamilies";
                  field.Type = TType.List;
                  field.ID = 2;
                  oprot.WriteFieldBegin(field);
                  {
                oprot.WriteListBegin(new TList(TType.Struct, this.columnFamilies.Count));
                foreach (ColumnDescriptor _iter25 in this.columnFamilies)
                {
                  _iter25.Write(oprot);
                  oprot.WriteListEnd();
                }
                  }
                  oprot.WriteFieldEnd();
                }
                oprot.WriteFieldStop();
                oprot.WriteStructEnd();
            }