Apache.Cassandra.Cassandra.multiget_slice_result.Read C# (CSharp) Метод

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

public Read ( TProtocol iprot ) : void
iprot Thrift.Protocol.TProtocol
Результат void
      public void Read (TProtocol iprot)
      {
        TField field;
        iprot.ReadStructBegin();
        while (true)
        {
          field = iprot.ReadFieldBegin();
          if (field.Type == TType.Stop) { 
            break;
          }
          switch (field.ID)
          {
            case 0:
              if (field.Type == TType.Map) {
                {
                  Success = new Dictionary<byte[], List<ColumnOrSuperColumn>>();
                  TMap _map103 = iprot.ReadMapBegin();
                  for( int _i104 = 0; _i104 < _map103.Count; ++_i104)
                  {
                    byte[] _key105;
                    List<ColumnOrSuperColumn> _val106;
                    _key105 = iprot.ReadBinary();
                    {
                      _val106 = new List<ColumnOrSuperColumn>();
                      TList _list107 = iprot.ReadListBegin();
                      for( int _i108 = 0; _i108 < _list107.Count; ++_i108)
                      {
                        ColumnOrSuperColumn _elem109 = new ColumnOrSuperColumn();
                        _elem109 = new ColumnOrSuperColumn();
                        _elem109.Read(iprot);
                        _val106.Add(_elem109);
                      }
                      iprot.ReadListEnd();
                    }
                    Success[_key105] = _val106;
                  }
                  iprot.ReadMapEnd();
                }
              } else { 
                TProtocolUtil.Skip(iprot, field.Type);
              }
              break;
            case 1:
              if (field.Type == TType.Struct) {
                Ire = new InvalidRequestException();
                Ire.Read(iprot);
              } else { 
                TProtocolUtil.Skip(iprot, field.Type);
              }
              break;
            case 2:
              if (field.Type == TType.Struct) {
                Ue = new UnavailableException();
                Ue.Read(iprot);
              } else { 
                TProtocolUtil.Skip(iprot, field.Type);
              }
              break;
            case 3:
              if (field.Type == TType.Struct) {
                Te = new TimedOutException();
                Te.Read(iprot);
              } else { 
                TProtocolUtil.Skip(iprot, field.Type);
              }
              break;
            default: 
              TProtocolUtil.Skip(iprot, field.Type);
              break;
          }
          iprot.ReadFieldEnd();
        }
        iprot.ReadStructEnd();
      }