Apache.Hadoop.Hbase.Thrift.Hbase.mutateRowsTs_args.Read C# (CSharp) Method

Read() public method

public Read ( TProtocol iprot ) : void
iprot Thrift.Protocol.TProtocol
return void
            public void Read(TProtocol iprot)
            {
                TField field;
                TStruct struc = iprot.ReadStructBegin();
                while (true)
                {
                  field = iprot.ReadFieldBegin();
                  if (field.Type == TType.Stop) {
                break;
                  }
                  switch (field.ID)
                  {
                case 1:
                  if (field.Type == TType.String) {
                this.tableName = iprot.ReadBinary();
                this.__isset.tableName = true;
                  } else {
                TProtocolUtil.Skip(iprot, field.Type);
                  }
                  break;
                case 2:
                  if (field.Type == TType.List) {
                {
                  this.rowBatches = new List<BatchMutation>();
                  TList _list46 = iprot.ReadListBegin();
                  for( int _i47 = 0; _i47 < _list46.Count; ++_i47)
                  {
                    BatchMutation _elem48 = new BatchMutation();
                    _elem48 = new BatchMutation();
                    _elem48.Read(iprot);
                    this.rowBatches.Add(_elem48);
                  }
                  iprot.ReadListEnd();
                }
                this.__isset.rowBatches = true;
                  } else {
                TProtocolUtil.Skip(iprot, field.Type);
                  }
                  break;
                case 3:
                  if (field.Type == TType.I64) {
                this.timestamp = iprot.ReadI64();
                this.__isset.timestamp = true;
                  } else {
                TProtocolUtil.Skip(iprot, field.Type);
                  }
                  break;
                default:
                  TProtocolUtil.Skip(iprot, field.Type);
                  break;
                  }
                  iprot.ReadFieldEnd();
                }
                iprot.ReadStructEnd();
            }