Apache.Hadoop.Hbase.Thrift.Hbase.mutateRowTs_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("mutateRowTs_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.row != null) {
                  field.Name = "row";
                  field.Type = TType.String;
                  field.ID = 2;
                  oprot.WriteFieldBegin(field);
                  oprot.WriteBinary(this.row);
                  oprot.WriteFieldEnd();
                }
                if (this.mutations != null) {
                  field.Name = "mutations";
                  field.Type = TType.List;
                  field.ID = 3;
                  oprot.WriteFieldBegin(field);
                  {
                oprot.WriteListBegin(new TList(TType.Struct, this.mutations.Count));
                foreach (Mutation _iter41 in this.mutations)
                {
                  _iter41.Write(oprot);
                  oprot.WriteListEnd();
                }
                  }
                  oprot.WriteFieldEnd();
                }
                field.Name = "timestamp";
                field.Type = TType.I64;
                field.ID = 4;
                oprot.WriteFieldBegin(field);
                oprot.WriteI64(this.timestamp);
                oprot.WriteFieldEnd();
                oprot.WriteFieldStop();
                oprot.WriteStructEnd();
            }