Subversion Repositories SmartDukaan

Rev

Rev 9779 | Rev 9861 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9779 Rev 9816
Line 502... Line 502...
502
 
502
 
503
    public MarketplacePercentage getCostingForMarketplace(long source, long item_id) throws org.apache.thrift.TException;
503
    public MarketplacePercentage getCostingForMarketplace(long source, long item_id) throws org.apache.thrift.TException;
504
 
504
 
505
    public List<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(long source) throws org.apache.thrift.TException;
505
    public List<MarketPlaceItemPrice> getMarketPlaceItemsForPriceUpdate(long source) throws org.apache.thrift.TException;
506
 
506
 
507
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp) throws org.apache.thrift.TException;
507
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, long source) throws org.apache.thrift.TException;
508
 
508
 
509
  }
509
  }
510
 
510
 
511
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
511
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
512
 
512
 
Line 790... Line 790...
790
 
790
 
791
    public void getCostingForMarketplace(long source, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCostingForMarketplace_call> resultHandler) throws org.apache.thrift.TException;
791
    public void getCostingForMarketplace(long source, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getCostingForMarketplace_call> resultHandler) throws org.apache.thrift.TException;
792
 
792
 
793
    public void getMarketPlaceItemsForPriceUpdate(long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMarketPlaceItemsForPriceUpdate_call> resultHandler) throws org.apache.thrift.TException;
793
    public void getMarketPlaceItemsForPriceUpdate(long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMarketPlaceItemsForPriceUpdate_call> resultHandler) throws org.apache.thrift.TException;
794
 
794
 
795
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMarketPlacePriceUpdateStatus_call> resultHandler) throws org.apache.thrift.TException;
795
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMarketPlacePriceUpdateStatus_call> resultHandler) throws org.apache.thrift.TException;
796
 
796
 
797
  }
797
  }
798
 
798
 
799
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
799
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
800
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
800
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
Line 4163... Line 4163...
4163
        return result.success;
4163
        return result.success;
4164
      }
4164
      }
4165
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
4165
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getMarketPlaceItemsForPriceUpdate failed: unknown result");
4166
    }
4166
    }
4167
 
4167
 
4168
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp) throws org.apache.thrift.TException
4168
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, long source) throws org.apache.thrift.TException
4169
    {
4169
    {
4170
      send_updateMarketPlacePriceUpdateStatus(skulist, timestamp);
4170
      send_updateMarketPlacePriceUpdateStatus(skulist, timestamp, source);
4171
      recv_updateMarketPlacePriceUpdateStatus();
4171
      recv_updateMarketPlacePriceUpdateStatus();
4172
    }
4172
    }
4173
 
4173
 
4174
    public void send_updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp) throws org.apache.thrift.TException
4174
    public void send_updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, long source) throws org.apache.thrift.TException
4175
    {
4175
    {
4176
      updateMarketPlacePriceUpdateStatus_args args = new updateMarketPlacePriceUpdateStatus_args();
4176
      updateMarketPlacePriceUpdateStatus_args args = new updateMarketPlacePriceUpdateStatus_args();
4177
      args.setSkulist(skulist);
4177
      args.setSkulist(skulist);
4178
      args.setTimestamp(timestamp);
4178
      args.setTimestamp(timestamp);
-
 
4179
      args.setSource(source);
4179
      sendBase("updateMarketPlacePriceUpdateStatus", args);
4180
      sendBase("updateMarketPlacePriceUpdateStatus", args);
4180
    }
4181
    }
4181
 
4182
 
4182
    public void recv_updateMarketPlacePriceUpdateStatus() throws org.apache.thrift.TException
4183
    public void recv_updateMarketPlacePriceUpdateStatus() throws org.apache.thrift.TException
4183
    {
4184
    {
Line 8834... Line 8835...
8834
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8835
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
8835
        return (new Client(prot)).recv_getMarketPlaceItemsForPriceUpdate();
8836
        return (new Client(prot)).recv_getMarketPlaceItemsForPriceUpdate();
8836
      }
8837
      }
8837
    }
8838
    }
8838
 
8839
 
8839
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, org.apache.thrift.async.AsyncMethodCallback<updateMarketPlacePriceUpdateStatus_call> resultHandler) throws org.apache.thrift.TException {
8840
    public void updateMarketPlacePriceUpdateStatus(List<Long> skulist, long timestamp, long source, org.apache.thrift.async.AsyncMethodCallback<updateMarketPlacePriceUpdateStatus_call> resultHandler) throws org.apache.thrift.TException {
8840
      checkReady();
8841
      checkReady();
8841
      updateMarketPlacePriceUpdateStatus_call method_call = new updateMarketPlacePriceUpdateStatus_call(skulist, timestamp, resultHandler, this, ___protocolFactory, ___transport);
8842
      updateMarketPlacePriceUpdateStatus_call method_call = new updateMarketPlacePriceUpdateStatus_call(skulist, timestamp, source, resultHandler, this, ___protocolFactory, ___transport);
8842
      this.___currentMethod = method_call;
8843
      this.___currentMethod = method_call;
8843
      ___manager.call(method_call);
8844
      ___manager.call(method_call);
8844
    }
8845
    }
8845
 
8846
 
8846
    public static class updateMarketPlacePriceUpdateStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
8847
    public static class updateMarketPlacePriceUpdateStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
8847
      private List<Long> skulist;
8848
      private List<Long> skulist;
8848
      private long timestamp;
8849
      private long timestamp;
-
 
8850
      private long source;
8849
      public updateMarketPlacePriceUpdateStatus_call(List<Long> skulist, long timestamp, org.apache.thrift.async.AsyncMethodCallback<updateMarketPlacePriceUpdateStatus_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
8851
      public updateMarketPlacePriceUpdateStatus_call(List<Long> skulist, long timestamp, long source, org.apache.thrift.async.AsyncMethodCallback<updateMarketPlacePriceUpdateStatus_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
8850
        super(client, protocolFactory, transport, resultHandler, false);
8852
        super(client, protocolFactory, transport, resultHandler, false);
8851
        this.skulist = skulist;
8853
        this.skulist = skulist;
8852
        this.timestamp = timestamp;
8854
        this.timestamp = timestamp;
-
 
8855
        this.source = source;
8853
      }
8856
      }
8854
 
8857
 
8855
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
8858
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
8856
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateMarketPlacePriceUpdateStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
8859
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateMarketPlacePriceUpdateStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
8857
        updateMarketPlacePriceUpdateStatus_args args = new updateMarketPlacePriceUpdateStatus_args();
8860
        updateMarketPlacePriceUpdateStatus_args args = new updateMarketPlacePriceUpdateStatus_args();
8858
        args.setSkulist(skulist);
8861
        args.setSkulist(skulist);
8859
        args.setTimestamp(timestamp);
8862
        args.setTimestamp(timestamp);
-
 
8863
        args.setSource(source);
8860
        args.write(prot);
8864
        args.write(prot);
8861
        prot.writeMessageEnd();
8865
        prot.writeMessageEnd();
8862
      }
8866
      }
8863
 
8867
 
8864
      public void getResult() throws org.apache.thrift.TException {
8868
      public void getResult() throws org.apache.thrift.TException {
Line 11511... Line 11515...
11511
        return new updateMarketPlacePriceUpdateStatus_args();
11515
        return new updateMarketPlacePriceUpdateStatus_args();
11512
      }
11516
      }
11513
 
11517
 
11514
      protected updateMarketPlacePriceUpdateStatus_result getResult(I iface, updateMarketPlacePriceUpdateStatus_args args) throws org.apache.thrift.TException {
11518
      protected updateMarketPlacePriceUpdateStatus_result getResult(I iface, updateMarketPlacePriceUpdateStatus_args args) throws org.apache.thrift.TException {
11515
        updateMarketPlacePriceUpdateStatus_result result = new updateMarketPlacePriceUpdateStatus_result();
11519
        updateMarketPlacePriceUpdateStatus_result result = new updateMarketPlacePriceUpdateStatus_result();
11516
        iface.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp);
11520
        iface.updateMarketPlacePriceUpdateStatus(args.skulist, args.timestamp, args.source);
11517
        return result;
11521
        return result;
11518
      }
11522
      }
11519
    }
11523
    }
11520
 
11524
 
11521
  }
11525
  }
Line 102144... Line 102148...
102144
  public static class updateMarketPlacePriceUpdateStatus_args implements org.apache.thrift.TBase<updateMarketPlacePriceUpdateStatus_args, updateMarketPlacePriceUpdateStatus_args._Fields>, java.io.Serializable, Cloneable   {
102148
  public static class updateMarketPlacePriceUpdateStatus_args implements org.apache.thrift.TBase<updateMarketPlacePriceUpdateStatus_args, updateMarketPlacePriceUpdateStatus_args._Fields>, java.io.Serializable, Cloneable   {
102145
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateMarketPlacePriceUpdateStatus_args");
102149
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("updateMarketPlacePriceUpdateStatus_args");
102146
 
102150
 
102147
    private static final org.apache.thrift.protocol.TField SKULIST_FIELD_DESC = new org.apache.thrift.protocol.TField("skulist", org.apache.thrift.protocol.TType.LIST, (short)1);
102151
    private static final org.apache.thrift.protocol.TField SKULIST_FIELD_DESC = new org.apache.thrift.protocol.TField("skulist", org.apache.thrift.protocol.TType.LIST, (short)1);
102148
    private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)2);
102152
    private static final org.apache.thrift.protocol.TField TIMESTAMP_FIELD_DESC = new org.apache.thrift.protocol.TField("timestamp", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
102153
    private static final org.apache.thrift.protocol.TField SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("source", org.apache.thrift.protocol.TType.I64, (short)3);
102149
 
102154
 
102150
    private List<Long> skulist; // required
102155
    private List<Long> skulist; // required
102151
    private long timestamp; // required
102156
    private long timestamp; // required
-
 
102157
    private long source; // required
102152
 
102158
 
102153
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
102159
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
102154
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
102160
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
102155
      SKULIST((short)1, "skulist"),
102161
      SKULIST((short)1, "skulist"),
102156
      TIMESTAMP((short)2, "timestamp");
102162
      TIMESTAMP((short)2, "timestamp"),
-
 
102163
      SOURCE((short)3, "source");
102157
 
102164
 
102158
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
102165
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
102159
 
102166
 
102160
      static {
102167
      static {
102161
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
102168
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 102170... Line 102177...
102170
        switch(fieldId) {
102177
        switch(fieldId) {
102171
          case 1: // SKULIST
102178
          case 1: // SKULIST
102172
            return SKULIST;
102179
            return SKULIST;
102173
          case 2: // TIMESTAMP
102180
          case 2: // TIMESTAMP
102174
            return TIMESTAMP;
102181
            return TIMESTAMP;
-
 
102182
          case 3: // SOURCE
-
 
102183
            return SOURCE;
102175
          default:
102184
          default:
102176
            return null;
102185
            return null;
102177
        }
102186
        }
102178
      }
102187
      }
102179
 
102188
 
Line 102211... Line 102220...
102211
      }
102220
      }
102212
    }
102221
    }
102213
 
102222
 
102214
    // isset id assignments
102223
    // isset id assignments
102215
    private static final int __TIMESTAMP_ISSET_ID = 0;
102224
    private static final int __TIMESTAMP_ISSET_ID = 0;
-
 
102225
    private static final int __SOURCE_ISSET_ID = 1;
102216
    private BitSet __isset_bit_vector = new BitSet(1);
102226
    private BitSet __isset_bit_vector = new BitSet(2);
102217
 
102227
 
102218
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
102228
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
102219
    static {
102229
    static {
102220
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
102230
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
102221
      tmpMap.put(_Fields.SKULIST, new org.apache.thrift.meta_data.FieldMetaData("skulist", org.apache.thrift.TFieldRequirementType.DEFAULT, 
102231
      tmpMap.put(_Fields.SKULIST, new org.apache.thrift.meta_data.FieldMetaData("skulist", org.apache.thrift.TFieldRequirementType.DEFAULT, 
102222
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
102232
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
102223
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
102233
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
102224
      tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
102234
      tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
102225
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
102235
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
102236
      tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
102237
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
102226
      metaDataMap = Collections.unmodifiableMap(tmpMap);
102238
      metaDataMap = Collections.unmodifiableMap(tmpMap);
102227
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateMarketPlacePriceUpdateStatus_args.class, metaDataMap);
102239
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(updateMarketPlacePriceUpdateStatus_args.class, metaDataMap);
102228
    }
102240
    }
102229
 
102241
 
102230
    public updateMarketPlacePriceUpdateStatus_args() {
102242
    public updateMarketPlacePriceUpdateStatus_args() {
102231
    }
102243
    }
102232
 
102244
 
102233
    public updateMarketPlacePriceUpdateStatus_args(
102245
    public updateMarketPlacePriceUpdateStatus_args(
102234
      List<Long> skulist,
102246
      List<Long> skulist,
102235
      long timestamp)
102247
      long timestamp,
-
 
102248
      long source)
102236
    {
102249
    {
102237
      this();
102250
      this();
102238
      this.skulist = skulist;
102251
      this.skulist = skulist;
102239
      this.timestamp = timestamp;
102252
      this.timestamp = timestamp;
102240
      setTimestampIsSet(true);
102253
      setTimestampIsSet(true);
-
 
102254
      this.source = source;
-
 
102255
      setSourceIsSet(true);
102241
    }
102256
    }
102242
 
102257
 
102243
    /**
102258
    /**
102244
     * Performs a deep copy on <i>other</i>.
102259
     * Performs a deep copy on <i>other</i>.
102245
     */
102260
     */
Line 102252... Line 102267...
102252
          __this__skulist.add(other_element);
102267
          __this__skulist.add(other_element);
102253
        }
102268
        }
102254
        this.skulist = __this__skulist;
102269
        this.skulist = __this__skulist;
102255
      }
102270
      }
102256
      this.timestamp = other.timestamp;
102271
      this.timestamp = other.timestamp;
-
 
102272
      this.source = other.source;
102257
    }
102273
    }
102258
 
102274
 
102259
    public updateMarketPlacePriceUpdateStatus_args deepCopy() {
102275
    public updateMarketPlacePriceUpdateStatus_args deepCopy() {
102260
      return new updateMarketPlacePriceUpdateStatus_args(this);
102276
      return new updateMarketPlacePriceUpdateStatus_args(this);
102261
    }
102277
    }
Line 102263... Line 102279...
102263
    @Override
102279
    @Override
102264
    public void clear() {
102280
    public void clear() {
102265
      this.skulist = null;
102281
      this.skulist = null;
102266
      setTimestampIsSet(false);
102282
      setTimestampIsSet(false);
102267
      this.timestamp = 0;
102283
      this.timestamp = 0;
-
 
102284
      setSourceIsSet(false);
-
 
102285
      this.source = 0;
102268
    }
102286
    }
102269
 
102287
 
102270
    public int getSkulistSize() {
102288
    public int getSkulistSize() {
102271
      return (this.skulist == null) ? 0 : this.skulist.size();
102289
      return (this.skulist == null) ? 0 : this.skulist.size();
102272
    }
102290
    }
Line 102325... Line 102343...
102325
 
102343
 
102326
    public void setTimestampIsSet(boolean value) {
102344
    public void setTimestampIsSet(boolean value) {
102327
      __isset_bit_vector.set(__TIMESTAMP_ISSET_ID, value);
102345
      __isset_bit_vector.set(__TIMESTAMP_ISSET_ID, value);
102328
    }
102346
    }
102329
 
102347
 
-
 
102348
    public long getSource() {
-
 
102349
      return this.source;
-
 
102350
    }
-
 
102351
 
-
 
102352
    public void setSource(long source) {
-
 
102353
      this.source = source;
-
 
102354
      setSourceIsSet(true);
-
 
102355
    }
-
 
102356
 
-
 
102357
    public void unsetSource() {
-
 
102358
      __isset_bit_vector.clear(__SOURCE_ISSET_ID);
-
 
102359
    }
-
 
102360
 
-
 
102361
    /** Returns true if field source is set (has been assigned a value) and false otherwise */
-
 
102362
    public boolean isSetSource() {
-
 
102363
      return __isset_bit_vector.get(__SOURCE_ISSET_ID);
-
 
102364
    }
-
 
102365
 
-
 
102366
    public void setSourceIsSet(boolean value) {
-
 
102367
      __isset_bit_vector.set(__SOURCE_ISSET_ID, value);
-
 
102368
    }
-
 
102369
 
102330
    public void setFieldValue(_Fields field, Object value) {
102370
    public void setFieldValue(_Fields field, Object value) {
102331
      switch (field) {
102371
      switch (field) {
102332
      case SKULIST:
102372
      case SKULIST:
102333
        if (value == null) {
102373
        if (value == null) {
102334
          unsetSkulist();
102374
          unsetSkulist();
Line 102343... Line 102383...
102343
        } else {
102383
        } else {
102344
          setTimestamp((Long)value);
102384
          setTimestamp((Long)value);
102345
        }
102385
        }
102346
        break;
102386
        break;
102347
 
102387
 
-
 
102388
      case SOURCE:
-
 
102389
        if (value == null) {
-
 
102390
          unsetSource();
-
 
102391
        } else {
-
 
102392
          setSource((Long)value);
-
 
102393
        }
-
 
102394
        break;
-
 
102395
 
102348
      }
102396
      }
102349
    }
102397
    }
102350
 
102398
 
102351
    public Object getFieldValue(_Fields field) {
102399
    public Object getFieldValue(_Fields field) {
102352
      switch (field) {
102400
      switch (field) {
Line 102354... Line 102402...
102354
        return getSkulist();
102402
        return getSkulist();
102355
 
102403
 
102356
      case TIMESTAMP:
102404
      case TIMESTAMP:
102357
        return Long.valueOf(getTimestamp());
102405
        return Long.valueOf(getTimestamp());
102358
 
102406
 
-
 
102407
      case SOURCE:
-
 
102408
        return Long.valueOf(getSource());
-
 
102409
 
102359
      }
102410
      }
102360
      throw new IllegalStateException();
102411
      throw new IllegalStateException();
102361
    }
102412
    }
102362
 
102413
 
102363
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
102414
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 102369... Line 102420...
102369
      switch (field) {
102420
      switch (field) {
102370
      case SKULIST:
102421
      case SKULIST:
102371
        return isSetSkulist();
102422
        return isSetSkulist();
102372
      case TIMESTAMP:
102423
      case TIMESTAMP:
102373
        return isSetTimestamp();
102424
        return isSetTimestamp();
-
 
102425
      case SOURCE:
-
 
102426
        return isSetSource();
102374
      }
102427
      }
102375
      throw new IllegalStateException();
102428
      throw new IllegalStateException();
102376
    }
102429
    }
102377
 
102430
 
102378
    @Override
102431
    @Override
Line 102404... Line 102457...
102404
          return false;
102457
          return false;
102405
        if (this.timestamp != that.timestamp)
102458
        if (this.timestamp != that.timestamp)
102406
          return false;
102459
          return false;
102407
      }
102460
      }
102408
 
102461
 
-
 
102462
      boolean this_present_source = true;
-
 
102463
      boolean that_present_source = true;
-
 
102464
      if (this_present_source || that_present_source) {
-
 
102465
        if (!(this_present_source && that_present_source))
-
 
102466
          return false;
-
 
102467
        if (this.source != that.source)
-
 
102468
          return false;
-
 
102469
      }
-
 
102470
 
102409
      return true;
102471
      return true;
102410
    }
102472
    }
102411
 
102473
 
102412
    @Override
102474
    @Override
102413
    public int hashCode() {
102475
    public int hashCode() {
Line 102440... Line 102502...
102440
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, typedOther.timestamp);
102502
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, typedOther.timestamp);
102441
        if (lastComparison != 0) {
102503
        if (lastComparison != 0) {
102442
          return lastComparison;
102504
          return lastComparison;
102443
        }
102505
        }
102444
      }
102506
      }
-
 
102507
      lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource());
-
 
102508
      if (lastComparison != 0) {
-
 
102509
        return lastComparison;
-
 
102510
      }
-
 
102511
      if (isSetSource()) {
-
 
102512
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, typedOther.source);
-
 
102513
        if (lastComparison != 0) {
-
 
102514
          return lastComparison;
-
 
102515
        }
-
 
102516
      }
102445
      return 0;
102517
      return 0;
102446
    }
102518
    }
102447
 
102519
 
102448
    public _Fields fieldForId(int fieldId) {
102520
    public _Fields fieldForId(int fieldId) {
102449
      return _Fields.findByThriftId(fieldId);
102521
      return _Fields.findByThriftId(fieldId);
Line 102482... Line 102554...
102482
              setTimestampIsSet(true);
102554
              setTimestampIsSet(true);
102483
            } else { 
102555
            } else { 
102484
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
102556
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
102485
            }
102557
            }
102486
            break;
102558
            break;
-
 
102559
          case 3: // SOURCE
-
 
102560
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
102561
              this.source = iprot.readI64();
-
 
102562
              setSourceIsSet(true);
-
 
102563
            } else { 
-
 
102564
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
102565
            }
-
 
102566
            break;
102487
          default:
102567
          default:
102488
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
102568
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
102489
        }
102569
        }
102490
        iprot.readFieldEnd();
102570
        iprot.readFieldEnd();
102491
      }
102571
      }
Line 102510... Line 102590...
102510
        oprot.writeFieldEnd();
102590
        oprot.writeFieldEnd();
102511
      }
102591
      }
102512
      oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
102592
      oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
102513
      oprot.writeI64(this.timestamp);
102593
      oprot.writeI64(this.timestamp);
102514
      oprot.writeFieldEnd();
102594
      oprot.writeFieldEnd();
-
 
102595
      oprot.writeFieldBegin(SOURCE_FIELD_DESC);
-
 
102596
      oprot.writeI64(this.source);
-
 
102597
      oprot.writeFieldEnd();
102515
      oprot.writeFieldStop();
102598
      oprot.writeFieldStop();
102516
      oprot.writeStructEnd();
102599
      oprot.writeStructEnd();
102517
    }
102600
    }
102518
 
102601
 
102519
    @Override
102602
    @Override
Line 102530... Line 102613...
102530
      first = false;
102613
      first = false;
102531
      if (!first) sb.append(", ");
102614
      if (!first) sb.append(", ");
102532
      sb.append("timestamp:");
102615
      sb.append("timestamp:");
102533
      sb.append(this.timestamp);
102616
      sb.append(this.timestamp);
102534
      first = false;
102617
      first = false;
-
 
102618
      if (!first) sb.append(", ");
-
 
102619
      sb.append("source:");
-
 
102620
      sb.append(this.source);
-
 
102621
      first = false;
102535
      sb.append(")");
102622
      sb.append(")");
102536
      return sb.toString();
102623
      return sb.toString();
102537
    }
102624
    }
102538
 
102625
 
102539
    public void validate() throws org.apache.thrift.TException {
102626
    public void validate() throws org.apache.thrift.TException {