Subversion Repositories SmartDukaan

Rev

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

Rev 5833 Rev 5874
Line 164... Line 164...
164
    /**
164
    /**
165
     * Returns list of Orders in descending order by Order creation date. List is restricted to limit Orders.
165
     * Returns list of Orders in descending order by Order creation date. List is restricted to limit Orders.
166
     * If limit is passed as 0, then all valid Orders are returned.
166
     * If limit is passed as 0, then all valid Orders are returned.
167
     * 
167
     * 
168
     * @param limit
168
     * @param limit
-
 
169
     * @param onlyStore
169
     */
170
     */
170
    public List<Order> getValidOrders(long limit) throws org.apache.thrift.TException;
171
    public List<Order> getValidOrders(long limit, boolean onlyStore) throws org.apache.thrift.TException;
171
 
172
 
172
    /**
173
    /**
173
     * Create a batch of all the pending orders for the given warehouse.
174
     * Create a batch of all the pending orders for the given warehouse.
174
     * The returned list is orderd by created_timestamp.
175
     * The returned list is orderd by created_timestamp.
175
     * If there are no pending orders, an empty list is returned.
176
     * If there are no pending orders, an empty list is returned.
Line 907... Line 908...
907
 
908
 
908
    public void getNoOfCustomersWithSuccessfulTransaction(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNoOfCustomersWithSuccessfulTransaction_call> resultHandler) throws org.apache.thrift.TException;
909
    public void getNoOfCustomersWithSuccessfulTransaction(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNoOfCustomersWithSuccessfulTransaction_call> resultHandler) throws org.apache.thrift.TException;
909
 
910
 
910
    public void getValidOrdersAmountRange(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getValidOrdersAmountRange_call> resultHandler) throws org.apache.thrift.TException;
911
    public void getValidOrdersAmountRange(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getValidOrdersAmountRange_call> resultHandler) throws org.apache.thrift.TException;
911
 
912
 
912
    public void getValidOrders(long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getValidOrders_call> resultHandler) throws org.apache.thrift.TException;
913
    public void getValidOrders(long limit, boolean onlyStore, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getValidOrders_call> resultHandler) throws org.apache.thrift.TException;
913
 
914
 
914
    public void batchOrders(long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.batchOrders_call> resultHandler) throws org.apache.thrift.TException;
915
    public void batchOrders(long warehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.batchOrders_call> resultHandler) throws org.apache.thrift.TException;
915
 
916
 
916
    public void markOrderAsOutOfStock(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsOutOfStock_call> resultHandler) throws org.apache.thrift.TException;
917
    public void markOrderAsOutOfStock(long orderId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markOrderAsOutOfStock_call> resultHandler) throws org.apache.thrift.TException;
917
 
918
 
Line 1878... Line 1879...
1878
        return result.success;
1879
        return result.success;
1879
      }
1880
      }
1880
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getValidOrdersAmountRange failed: unknown result");
1881
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getValidOrdersAmountRange failed: unknown result");
1881
    }
1882
    }
1882
 
1883
 
1883
    public List<Order> getValidOrders(long limit) throws org.apache.thrift.TException
1884
    public List<Order> getValidOrders(long limit, boolean onlyStore) throws org.apache.thrift.TException
1884
    {
1885
    {
1885
      send_getValidOrders(limit);
1886
      send_getValidOrders(limit, onlyStore);
1886
      return recv_getValidOrders();
1887
      return recv_getValidOrders();
1887
    }
1888
    }
1888
 
1889
 
1889
    public void send_getValidOrders(long limit) throws org.apache.thrift.TException
1890
    public void send_getValidOrders(long limit, boolean onlyStore) throws org.apache.thrift.TException
1890
    {
1891
    {
1891
      getValidOrders_args args = new getValidOrders_args();
1892
      getValidOrders_args args = new getValidOrders_args();
1892
      args.setLimit(limit);
1893
      args.setLimit(limit);
-
 
1894
      args.setOnlyStore(onlyStore);
1893
      sendBase("getValidOrders", args);
1895
      sendBase("getValidOrders", args);
1894
    }
1896
    }
1895
 
1897
 
1896
    public List<Order> recv_getValidOrders() throws org.apache.thrift.TException
1898
    public List<Order> recv_getValidOrders() throws org.apache.thrift.TException
1897
    {
1899
    {
Line 5339... Line 5341...
5339
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5341
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
5340
        return (new Client(prot)).recv_getValidOrdersAmountRange();
5342
        return (new Client(prot)).recv_getValidOrdersAmountRange();
5341
      }
5343
      }
5342
    }
5344
    }
5343
 
5345
 
5344
    public void getValidOrders(long limit, org.apache.thrift.async.AsyncMethodCallback<getValidOrders_call> resultHandler) throws org.apache.thrift.TException {
5346
    public void getValidOrders(long limit, boolean onlyStore, org.apache.thrift.async.AsyncMethodCallback<getValidOrders_call> resultHandler) throws org.apache.thrift.TException {
5345
      checkReady();
5347
      checkReady();
5346
      getValidOrders_call method_call = new getValidOrders_call(limit, resultHandler, this, ___protocolFactory, ___transport);
5348
      getValidOrders_call method_call = new getValidOrders_call(limit, onlyStore, resultHandler, this, ___protocolFactory, ___transport);
5347
      this.___currentMethod = method_call;
5349
      this.___currentMethod = method_call;
5348
      ___manager.call(method_call);
5350
      ___manager.call(method_call);
5349
    }
5351
    }
5350
 
5352
 
5351
    public static class getValidOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
5353
    public static class getValidOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
5352
      private long limit;
5354
      private long limit;
-
 
5355
      private boolean onlyStore;
5353
      public getValidOrders_call(long limit, org.apache.thrift.async.AsyncMethodCallback<getValidOrders_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 {
5356
      public getValidOrders_call(long limit, boolean onlyStore, org.apache.thrift.async.AsyncMethodCallback<getValidOrders_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 {
5354
        super(client, protocolFactory, transport, resultHandler, false);
5357
        super(client, protocolFactory, transport, resultHandler, false);
5355
        this.limit = limit;
5358
        this.limit = limit;
-
 
5359
        this.onlyStore = onlyStore;
5356
      }
5360
      }
5357
 
5361
 
5358
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5362
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
5359
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getValidOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
5363
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getValidOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
5360
        getValidOrders_args args = new getValidOrders_args();
5364
        getValidOrders_args args = new getValidOrders_args();
5361
        args.setLimit(limit);
5365
        args.setLimit(limit);
-
 
5366
        args.setOnlyStore(onlyStore);
5362
        args.write(prot);
5367
        args.write(prot);
5363
        prot.writeMessageEnd();
5368
        prot.writeMessageEnd();
5364
      }
5369
      }
5365
 
5370
 
5366
      public List<Order> getResult() throws org.apache.thrift.TException {
5371
      public List<Order> getResult() throws org.apache.thrift.TException {
Line 9410... Line 9415...
9410
        return new getValidOrders_args();
9415
        return new getValidOrders_args();
9411
      }
9416
      }
9412
 
9417
 
9413
      protected getValidOrders_result getResult(I iface, getValidOrders_args args) throws org.apache.thrift.TException {
9418
      protected getValidOrders_result getResult(I iface, getValidOrders_args args) throws org.apache.thrift.TException {
9414
        getValidOrders_result result = new getValidOrders_result();
9419
        getValidOrders_result result = new getValidOrders_result();
9415
        result.success = iface.getValidOrders(args.limit);
9420
        result.success = iface.getValidOrders(args.limit, args.onlyStore);
9416
        return result;
9421
        return result;
9417
      }
9422
      }
9418
    }
9423
    }
9419
 
9424
 
9420
    private static class batchOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, batchOrders_args> {
9425
    private static class batchOrders<I extends Iface> extends org.apache.thrift.ProcessFunction<I, batchOrders_args> {
Line 33551... Line 33556...
33551
 
33556
 
33552
  public static class getValidOrders_args implements org.apache.thrift.TBase<getValidOrders_args, getValidOrders_args._Fields>, java.io.Serializable, Cloneable   {
33557
  public static class getValidOrders_args implements org.apache.thrift.TBase<getValidOrders_args, getValidOrders_args._Fields>, java.io.Serializable, Cloneable   {
33553
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getValidOrders_args");
33558
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getValidOrders_args");
33554
 
33559
 
33555
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)1);
33560
    private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
33561
    private static final org.apache.thrift.protocol.TField ONLY_STORE_FIELD_DESC = new org.apache.thrift.protocol.TField("onlyStore", org.apache.thrift.protocol.TType.BOOL, (short)2);
33556
 
33562
 
33557
    private long limit; // required
33563
    private long limit; // required
-
 
33564
    private boolean onlyStore; // required
33558
 
33565
 
33559
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
33566
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
33560
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
33567
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
33561
      LIMIT((short)1, "limit");
33568
      LIMIT((short)1, "limit"),
-
 
33569
      ONLY_STORE((short)2, "onlyStore");
33562
 
33570
 
33563
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
33571
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
33564
 
33572
 
33565
      static {
33573
      static {
33566
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
33574
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 33573... Line 33581...
33573
       */
33581
       */
33574
      public static _Fields findByThriftId(int fieldId) {
33582
      public static _Fields findByThriftId(int fieldId) {
33575
        switch(fieldId) {
33583
        switch(fieldId) {
33576
          case 1: // LIMIT
33584
          case 1: // LIMIT
33577
            return LIMIT;
33585
            return LIMIT;
-
 
33586
          case 2: // ONLY_STORE
-
 
33587
            return ONLY_STORE;
33578
          default:
33588
          default:
33579
            return null;
33589
            return null;
33580
        }
33590
        }
33581
      }
33591
      }
33582
 
33592
 
Line 33614... Line 33624...
33614
      }
33624
      }
33615
    }
33625
    }
33616
 
33626
 
33617
    // isset id assignments
33627
    // isset id assignments
33618
    private static final int __LIMIT_ISSET_ID = 0;
33628
    private static final int __LIMIT_ISSET_ID = 0;
-
 
33629
    private static final int __ONLYSTORE_ISSET_ID = 1;
33619
    private BitSet __isset_bit_vector = new BitSet(1);
33630
    private BitSet __isset_bit_vector = new BitSet(2);
33620
 
33631
 
33621
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
33632
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
33622
    static {
33633
    static {
33623
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
33634
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
33624
      tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
33635
      tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT, 
33625
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
33636
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
33637
      tmpMap.put(_Fields.ONLY_STORE, new org.apache.thrift.meta_data.FieldMetaData("onlyStore", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
33638
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
33626
      metaDataMap = Collections.unmodifiableMap(tmpMap);
33639
      metaDataMap = Collections.unmodifiableMap(tmpMap);
33627
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getValidOrders_args.class, metaDataMap);
33640
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getValidOrders_args.class, metaDataMap);
33628
    }
33641
    }
33629
 
33642
 
33630
    public getValidOrders_args() {
33643
    public getValidOrders_args() {
33631
    }
33644
    }
33632
 
33645
 
33633
    public getValidOrders_args(
33646
    public getValidOrders_args(
33634
      long limit)
33647
      long limit,
-
 
33648
      boolean onlyStore)
33635
    {
33649
    {
33636
      this();
33650
      this();
33637
      this.limit = limit;
33651
      this.limit = limit;
33638
      setLimitIsSet(true);
33652
      setLimitIsSet(true);
-
 
33653
      this.onlyStore = onlyStore;
-
 
33654
      setOnlyStoreIsSet(true);
33639
    }
33655
    }
33640
 
33656
 
33641
    /**
33657
    /**
33642
     * Performs a deep copy on <i>other</i>.
33658
     * Performs a deep copy on <i>other</i>.
33643
     */
33659
     */
33644
    public getValidOrders_args(getValidOrders_args other) {
33660
    public getValidOrders_args(getValidOrders_args other) {
33645
      __isset_bit_vector.clear();
33661
      __isset_bit_vector.clear();
33646
      __isset_bit_vector.or(other.__isset_bit_vector);
33662
      __isset_bit_vector.or(other.__isset_bit_vector);
33647
      this.limit = other.limit;
33663
      this.limit = other.limit;
-
 
33664
      this.onlyStore = other.onlyStore;
33648
    }
33665
    }
33649
 
33666
 
33650
    public getValidOrders_args deepCopy() {
33667
    public getValidOrders_args deepCopy() {
33651
      return new getValidOrders_args(this);
33668
      return new getValidOrders_args(this);
33652
    }
33669
    }
33653
 
33670
 
33654
    @Override
33671
    @Override
33655
    public void clear() {
33672
    public void clear() {
33656
      setLimitIsSet(false);
33673
      setLimitIsSet(false);
33657
      this.limit = 0;
33674
      this.limit = 0;
-
 
33675
      setOnlyStoreIsSet(false);
-
 
33676
      this.onlyStore = false;
33658
    }
33677
    }
33659
 
33678
 
33660
    public long getLimit() {
33679
    public long getLimit() {
33661
      return this.limit;
33680
      return this.limit;
33662
    }
33681
    }
Line 33677... Line 33696...
33677
 
33696
 
33678
    public void setLimitIsSet(boolean value) {
33697
    public void setLimitIsSet(boolean value) {
33679
      __isset_bit_vector.set(__LIMIT_ISSET_ID, value);
33698
      __isset_bit_vector.set(__LIMIT_ISSET_ID, value);
33680
    }
33699
    }
33681
 
33700
 
-
 
33701
    public boolean isOnlyStore() {
-
 
33702
      return this.onlyStore;
-
 
33703
    }
-
 
33704
 
-
 
33705
    public void setOnlyStore(boolean onlyStore) {
-
 
33706
      this.onlyStore = onlyStore;
-
 
33707
      setOnlyStoreIsSet(true);
-
 
33708
    }
-
 
33709
 
-
 
33710
    public void unsetOnlyStore() {
-
 
33711
      __isset_bit_vector.clear(__ONLYSTORE_ISSET_ID);
-
 
33712
    }
-
 
33713
 
-
 
33714
    /** Returns true if field onlyStore is set (has been assigned a value) and false otherwise */
-
 
33715
    public boolean isSetOnlyStore() {
-
 
33716
      return __isset_bit_vector.get(__ONLYSTORE_ISSET_ID);
-
 
33717
    }
-
 
33718
 
-
 
33719
    public void setOnlyStoreIsSet(boolean value) {
-
 
33720
      __isset_bit_vector.set(__ONLYSTORE_ISSET_ID, value);
-
 
33721
    }
-
 
33722
 
33682
    public void setFieldValue(_Fields field, Object value) {
33723
    public void setFieldValue(_Fields field, Object value) {
33683
      switch (field) {
33724
      switch (field) {
33684
      case LIMIT:
33725
      case LIMIT:
33685
        if (value == null) {
33726
        if (value == null) {
33686
          unsetLimit();
33727
          unsetLimit();
33687
        } else {
33728
        } else {
33688
          setLimit((Long)value);
33729
          setLimit((Long)value);
33689
        }
33730
        }
33690
        break;
33731
        break;
33691
 
33732
 
-
 
33733
      case ONLY_STORE:
-
 
33734
        if (value == null) {
-
 
33735
          unsetOnlyStore();
-
 
33736
        } else {
-
 
33737
          setOnlyStore((Boolean)value);
-
 
33738
        }
-
 
33739
        break;
-
 
33740
 
33692
      }
33741
      }
33693
    }
33742
    }
33694
 
33743
 
33695
    public Object getFieldValue(_Fields field) {
33744
    public Object getFieldValue(_Fields field) {
33696
      switch (field) {
33745
      switch (field) {
33697
      case LIMIT:
33746
      case LIMIT:
33698
        return Long.valueOf(getLimit());
33747
        return Long.valueOf(getLimit());
33699
 
33748
 
-
 
33749
      case ONLY_STORE:
-
 
33750
        return Boolean.valueOf(isOnlyStore());
-
 
33751
 
33700
      }
33752
      }
33701
      throw new IllegalStateException();
33753
      throw new IllegalStateException();
33702
    }
33754
    }
33703
 
33755
 
33704
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
33756
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 33708... Line 33760...
33708
      }
33760
      }
33709
 
33761
 
33710
      switch (field) {
33762
      switch (field) {
33711
      case LIMIT:
33763
      case LIMIT:
33712
        return isSetLimit();
33764
        return isSetLimit();
-
 
33765
      case ONLY_STORE:
-
 
33766
        return isSetOnlyStore();
33713
      }
33767
      }
33714
      throw new IllegalStateException();
33768
      throw new IllegalStateException();
33715
    }
33769
    }
33716
 
33770
 
33717
    @Override
33771
    @Override
Line 33734... Line 33788...
33734
          return false;
33788
          return false;
33735
        if (this.limit != that.limit)
33789
        if (this.limit != that.limit)
33736
          return false;
33790
          return false;
33737
      }
33791
      }
33738
 
33792
 
-
 
33793
      boolean this_present_onlyStore = true;
-
 
33794
      boolean that_present_onlyStore = true;
-
 
33795
      if (this_present_onlyStore || that_present_onlyStore) {
-
 
33796
        if (!(this_present_onlyStore && that_present_onlyStore))
-
 
33797
          return false;
-
 
33798
        if (this.onlyStore != that.onlyStore)
-
 
33799
          return false;
-
 
33800
      }
-
 
33801
 
33739
      return true;
33802
      return true;
33740
    }
33803
    }
33741
 
33804
 
33742
    @Override
33805
    @Override
33743
    public int hashCode() {
33806
    public int hashCode() {
Line 33760... Line 33823...
33760
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, typedOther.limit);
33823
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.limit, typedOther.limit);
33761
        if (lastComparison != 0) {
33824
        if (lastComparison != 0) {
33762
          return lastComparison;
33825
          return lastComparison;
33763
        }
33826
        }
33764
      }
33827
      }
-
 
33828
      lastComparison = Boolean.valueOf(isSetOnlyStore()).compareTo(typedOther.isSetOnlyStore());
-
 
33829
      if (lastComparison != 0) {
-
 
33830
        return lastComparison;
-
 
33831
      }
-
 
33832
      if (isSetOnlyStore()) {
-
 
33833
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.onlyStore, typedOther.onlyStore);
-
 
33834
        if (lastComparison != 0) {
-
 
33835
          return lastComparison;
-
 
33836
        }
-
 
33837
      }
33765
      return 0;
33838
      return 0;
33766
    }
33839
    }
33767
 
33840
 
33768
    public _Fields fieldForId(int fieldId) {
33841
    public _Fields fieldForId(int fieldId) {
33769
      return _Fields.findByThriftId(fieldId);
33842
      return _Fields.findByThriftId(fieldId);
Line 33785... Line 33858...
33785
              setLimitIsSet(true);
33858
              setLimitIsSet(true);
33786
            } else { 
33859
            } else { 
33787
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33860
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33788
            }
33861
            }
33789
            break;
33862
            break;
-
 
33863
          case 2: // ONLY_STORE
-
 
33864
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
33865
              this.onlyStore = iprot.readBool();
-
 
33866
              setOnlyStoreIsSet(true);
-
 
33867
            } else { 
-
 
33868
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33869
            }
-
 
33870
            break;
33790
          default:
33871
          default:
33791
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33872
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33792
        }
33873
        }
33793
        iprot.readFieldEnd();
33874
        iprot.readFieldEnd();
33794
      }
33875
      }
Line 33801... Line 33882...
33801
 
33882
 
33802
      oprot.writeStructBegin(STRUCT_DESC);
33883
      oprot.writeStructBegin(STRUCT_DESC);
33803
      oprot.writeFieldBegin(LIMIT_FIELD_DESC);
33884
      oprot.writeFieldBegin(LIMIT_FIELD_DESC);
33804
      oprot.writeI64(this.limit);
33885
      oprot.writeI64(this.limit);
33805
      oprot.writeFieldEnd();
33886
      oprot.writeFieldEnd();
-
 
33887
      oprot.writeFieldBegin(ONLY_STORE_FIELD_DESC);
-
 
33888
      oprot.writeBool(this.onlyStore);
-
 
33889
      oprot.writeFieldEnd();
33806
      oprot.writeFieldStop();
33890
      oprot.writeFieldStop();
33807
      oprot.writeStructEnd();
33891
      oprot.writeStructEnd();
33808
    }
33892
    }
33809
 
33893
 
33810
    @Override
33894
    @Override
Line 33813... Line 33897...
33813
      boolean first = true;
33897
      boolean first = true;
33814
 
33898
 
33815
      sb.append("limit:");
33899
      sb.append("limit:");
33816
      sb.append(this.limit);
33900
      sb.append(this.limit);
33817
      first = false;
33901
      first = false;
-
 
33902
      if (!first) sb.append(", ");
-
 
33903
      sb.append("onlyStore:");
-
 
33904
      sb.append(this.onlyStore);
-
 
33905
      first = false;
33818
      sb.append(")");
33906
      sb.append(")");
33819
      return sb.toString();
33907
      return sb.toString();
33820
    }
33908
    }
33821
 
33909
 
33822
    public void validate() throws org.apache.thrift.TException {
33910
    public void validate() throws org.apache.thrift.TException {