Subversion Repositories SmartDukaan

Rev

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

Rev 9339 Rev 9404
Line 1051... Line 1051...
1051
 
1051
 
1052
    public FlipkartOrder getFlipkartOrderByOrderItemId(String flipkartOrderItemId) throws org.apache.thrift.TException;
1052
    public FlipkartOrder getFlipkartOrderByOrderItemId(String flipkartOrderItemId) throws org.apache.thrift.TException;
1053
 
1053
 
1054
    public void updateFlipkartOrderDatesAndAWB(String flipkartOrderId, String flipkartSubOrderId, long date, String awb) throws org.apache.thrift.TException;
1054
    public void updateFlipkartOrderDatesAndAWB(String flipkartOrderId, String flipkartSubOrderId, long date, String awb) throws org.apache.thrift.TException;
1055
 
1055
 
-
 
1056
    public long getOrdersCreatedAfterTimestampForSource(long timestamp, long source, long item_id) throws org.apache.thrift.TException;
-
 
1057
 
1056
    public Order getOrderForAirwayBillNo(String airwaybillNo) throws TransactionServiceException, org.apache.thrift.TException;
1058
    public Order getOrderForAirwayBillNo(String airwaybillNo) throws TransactionServiceException, org.apache.thrift.TException;
1057
 
1059
 
1058
  }
1060
  }
1059
 
1061
 
1060
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
1062
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
Line 1491... Line 1493...
1491
 
1493
 
1492
    public void getFlipkartOrderByOrderItemId(String flipkartOrderItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartOrderByOrderItemId_call> resultHandler) throws org.apache.thrift.TException;
1494
    public void getFlipkartOrderByOrderItemId(String flipkartOrderItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getFlipkartOrderByOrderItemId_call> resultHandler) throws org.apache.thrift.TException;
1493
 
1495
 
1494
    public void updateFlipkartOrderDatesAndAWB(String flipkartOrderId, String flipkartSubOrderId, long date, String awb, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateFlipkartOrderDatesAndAWB_call> resultHandler) throws org.apache.thrift.TException;
1496
    public void updateFlipkartOrderDatesAndAWB(String flipkartOrderId, String flipkartSubOrderId, long date, String awb, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateFlipkartOrderDatesAndAWB_call> resultHandler) throws org.apache.thrift.TException;
1495
 
1497
 
-
 
1498
    public void getOrdersCreatedAfterTimestampForSource(long timestamp, long source, long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrdersCreatedAfterTimestampForSource_call> resultHandler) throws org.apache.thrift.TException;
-
 
1499
 
1496
    public void getOrderForAirwayBillNo(String airwaybillNo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForAirwayBillNo_call> resultHandler) throws org.apache.thrift.TException;
1500
    public void getOrderForAirwayBillNo(String airwaybillNo, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOrderForAirwayBillNo_call> resultHandler) throws org.apache.thrift.TException;
1497
 
1501
 
1498
  }
1502
  }
1499
 
1503
 
1500
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1504
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
Line 6866... Line 6870...
6866
      updateFlipkartOrderDatesAndAWB_result result = new updateFlipkartOrderDatesAndAWB_result();
6870
      updateFlipkartOrderDatesAndAWB_result result = new updateFlipkartOrderDatesAndAWB_result();
6867
      receiveBase(result, "updateFlipkartOrderDatesAndAWB");
6871
      receiveBase(result, "updateFlipkartOrderDatesAndAWB");
6868
      return;
6872
      return;
6869
    }
6873
    }
6870
 
6874
 
-
 
6875
    public long getOrdersCreatedAfterTimestampForSource(long timestamp, long source, long item_id) throws org.apache.thrift.TException
-
 
6876
    {
-
 
6877
      send_getOrdersCreatedAfterTimestampForSource(timestamp, source, item_id);
-
 
6878
      return recv_getOrdersCreatedAfterTimestampForSource();
-
 
6879
    }
-
 
6880
 
-
 
6881
    public void send_getOrdersCreatedAfterTimestampForSource(long timestamp, long source, long item_id) throws org.apache.thrift.TException
-
 
6882
    {
-
 
6883
      getOrdersCreatedAfterTimestampForSource_args args = new getOrdersCreatedAfterTimestampForSource_args();
-
 
6884
      args.setTimestamp(timestamp);
-
 
6885
      args.setSource(source);
-
 
6886
      args.setItem_id(item_id);
-
 
6887
      sendBase("getOrdersCreatedAfterTimestampForSource", args);
-
 
6888
    }
-
 
6889
 
-
 
6890
    public long recv_getOrdersCreatedAfterTimestampForSource() throws org.apache.thrift.TException
-
 
6891
    {
-
 
6892
      getOrdersCreatedAfterTimestampForSource_result result = new getOrdersCreatedAfterTimestampForSource_result();
-
 
6893
      receiveBase(result, "getOrdersCreatedAfterTimestampForSource");
-
 
6894
      if (result.isSetSuccess()) {
-
 
6895
        return result.success;
-
 
6896
      }
-
 
6897
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getOrdersCreatedAfterTimestampForSource failed: unknown result");
-
 
6898
    }
-
 
6899
 
6871
    public Order getOrderForAirwayBillNo(String airwaybillNo) throws TransactionServiceException, org.apache.thrift.TException
6900
    public Order getOrderForAirwayBillNo(String airwaybillNo) throws TransactionServiceException, org.apache.thrift.TException
6872
    {
6901
    {
6873
      send_getOrderForAirwayBillNo(airwaybillNo);
6902
      send_getOrderForAirwayBillNo(airwaybillNo);
6874
      return recv_getOrderForAirwayBillNo();
6903
      return recv_getOrderForAirwayBillNo();
6875
    }
6904
    }
Line 14457... Line 14486...
14457
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
14486
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
14458
        (new Client(prot)).recv_updateFlipkartOrderDatesAndAWB();
14487
        (new Client(prot)).recv_updateFlipkartOrderDatesAndAWB();
14459
      }
14488
      }
14460
    }
14489
    }
14461
 
14490
 
-
 
14491
    public void getOrdersCreatedAfterTimestampForSource(long timestamp, long source, long item_id, org.apache.thrift.async.AsyncMethodCallback<getOrdersCreatedAfterTimestampForSource_call> resultHandler) throws org.apache.thrift.TException {
-
 
14492
      checkReady();
-
 
14493
      getOrdersCreatedAfterTimestampForSource_call method_call = new getOrdersCreatedAfterTimestampForSource_call(timestamp, source, item_id, resultHandler, this, ___protocolFactory, ___transport);
-
 
14494
      this.___currentMethod = method_call;
-
 
14495
      ___manager.call(method_call);
-
 
14496
    }
-
 
14497
 
-
 
14498
    public static class getOrdersCreatedAfterTimestampForSource_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
14499
      private long timestamp;
-
 
14500
      private long source;
-
 
14501
      private long item_id;
-
 
14502
      public getOrdersCreatedAfterTimestampForSource_call(long timestamp, long source, long item_id, org.apache.thrift.async.AsyncMethodCallback<getOrdersCreatedAfterTimestampForSource_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 {
-
 
14503
        super(client, protocolFactory, transport, resultHandler, false);
-
 
14504
        this.timestamp = timestamp;
-
 
14505
        this.source = source;
-
 
14506
        this.item_id = item_id;
-
 
14507
      }
-
 
14508
 
-
 
14509
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
14510
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOrdersCreatedAfterTimestampForSource", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
14511
        getOrdersCreatedAfterTimestampForSource_args args = new getOrdersCreatedAfterTimestampForSource_args();
-
 
14512
        args.setTimestamp(timestamp);
-
 
14513
        args.setSource(source);
-
 
14514
        args.setItem_id(item_id);
-
 
14515
        args.write(prot);
-
 
14516
        prot.writeMessageEnd();
-
 
14517
      }
-
 
14518
 
-
 
14519
      public long getResult() throws org.apache.thrift.TException {
-
 
14520
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
14521
          throw new IllegalStateException("Method call not finished!");
-
 
14522
        }
-
 
14523
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
14524
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
14525
        return (new Client(prot)).recv_getOrdersCreatedAfterTimestampForSource();
-
 
14526
      }
-
 
14527
    }
-
 
14528
 
14462
    public void getOrderForAirwayBillNo(String airwaybillNo, org.apache.thrift.async.AsyncMethodCallback<getOrderForAirwayBillNo_call> resultHandler) throws org.apache.thrift.TException {
14529
    public void getOrderForAirwayBillNo(String airwaybillNo, org.apache.thrift.async.AsyncMethodCallback<getOrderForAirwayBillNo_call> resultHandler) throws org.apache.thrift.TException {
14463
      checkReady();
14530
      checkReady();
14464
      getOrderForAirwayBillNo_call method_call = new getOrderForAirwayBillNo_call(airwaybillNo, resultHandler, this, ___protocolFactory, ___transport);
14531
      getOrderForAirwayBillNo_call method_call = new getOrderForAirwayBillNo_call(airwaybillNo, resultHandler, this, ___protocolFactory, ___transport);
14465
      this.___currentMethod = method_call;
14532
      this.___currentMethod = method_call;
14466
      ___manager.call(method_call);
14533
      ___manager.call(method_call);
Line 14719... Line 14786...
14719
      processMap.put("flipkartOrderExists", new flipkartOrderExists());
14786
      processMap.put("flipkartOrderExists", new flipkartOrderExists());
14720
      processMap.put("createFlipkartOrder", new createFlipkartOrder());
14787
      processMap.put("createFlipkartOrder", new createFlipkartOrder());
14721
      processMap.put("getFlipkartOrder", new getFlipkartOrder());
14788
      processMap.put("getFlipkartOrder", new getFlipkartOrder());
14722
      processMap.put("getFlipkartOrderByOrderItemId", new getFlipkartOrderByOrderItemId());
14789
      processMap.put("getFlipkartOrderByOrderItemId", new getFlipkartOrderByOrderItemId());
14723
      processMap.put("updateFlipkartOrderDatesAndAWB", new updateFlipkartOrderDatesAndAWB());
14790
      processMap.put("updateFlipkartOrderDatesAndAWB", new updateFlipkartOrderDatesAndAWB());
-
 
14791
      processMap.put("getOrdersCreatedAfterTimestampForSource", new getOrdersCreatedAfterTimestampForSource());
14724
      processMap.put("getOrderForAirwayBillNo", new getOrderForAirwayBillNo());
14792
      processMap.put("getOrderForAirwayBillNo", new getOrderForAirwayBillNo());
14725
      return processMap;
14793
      return processMap;
14726
    }
14794
    }
14727
 
14795
 
14728
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
14796
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
Line 18646... Line 18714...
18646
        iface.updateFlipkartOrderDatesAndAWB(args.flipkartOrderId, args.flipkartSubOrderId, args.date, args.awb);
18714
        iface.updateFlipkartOrderDatesAndAWB(args.flipkartOrderId, args.flipkartSubOrderId, args.date, args.awb);
18647
        return result;
18715
        return result;
18648
      }
18716
      }
18649
    }
18717
    }
18650
 
18718
 
-
 
18719
    private static class getOrdersCreatedAfterTimestampForSource<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrdersCreatedAfterTimestampForSource_args> {
-
 
18720
      public getOrdersCreatedAfterTimestampForSource() {
-
 
18721
        super("getOrdersCreatedAfterTimestampForSource");
-
 
18722
      }
-
 
18723
 
-
 
18724
      protected getOrdersCreatedAfterTimestampForSource_args getEmptyArgsInstance() {
-
 
18725
        return new getOrdersCreatedAfterTimestampForSource_args();
-
 
18726
      }
-
 
18727
 
-
 
18728
      protected getOrdersCreatedAfterTimestampForSource_result getResult(I iface, getOrdersCreatedAfterTimestampForSource_args args) throws org.apache.thrift.TException {
-
 
18729
        getOrdersCreatedAfterTimestampForSource_result result = new getOrdersCreatedAfterTimestampForSource_result();
-
 
18730
        result.success = iface.getOrdersCreatedAfterTimestampForSource(args.timestamp, args.source, args.item_id);
-
 
18731
        result.setSuccessIsSet(true);
-
 
18732
        return result;
-
 
18733
      }
-
 
18734
    }
-
 
18735
 
18651
    private static class getOrderForAirwayBillNo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForAirwayBillNo_args> {
18736
    private static class getOrderForAirwayBillNo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getOrderForAirwayBillNo_args> {
18652
      public getOrderForAirwayBillNo() {
18737
      public getOrderForAirwayBillNo() {
18653
        super("getOrderForAirwayBillNo");
18738
        super("getOrderForAirwayBillNo");
18654
      }
18739
      }
18655
 
18740
 
Line 171941... Line 172026...
171941
      sb.append(")");
172026
      sb.append(")");
171942
      return sb.toString();
172027
      return sb.toString();
171943
    }
172028
    }
171944
 
172029
 
171945
    public void validate() throws org.apache.thrift.TException {
172030
    public void validate() throws org.apache.thrift.TException {
-
 
172031
      // check for required fields
-
 
172032
    }
-
 
172033
 
-
 
172034
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
172035
      try {
-
 
172036
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
172037
      } catch (org.apache.thrift.TException te) {
-
 
172038
        throw new java.io.IOException(te);
-
 
172039
      }
-
 
172040
    }
-
 
172041
 
-
 
172042
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
172043
      try {
-
 
172044
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
172045
      } catch (org.apache.thrift.TException te) {
-
 
172046
        throw new java.io.IOException(te);
-
 
172047
      }
-
 
172048
    }
-
 
172049
 
-
 
172050
  }
-
 
172051
 
-
 
172052
  public static class getOrdersCreatedAfterTimestampForSource_args implements org.apache.thrift.TBase<getOrdersCreatedAfterTimestampForSource_args, getOrdersCreatedAfterTimestampForSource_args._Fields>, java.io.Serializable, Cloneable   {
-
 
172053
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersCreatedAfterTimestampForSource_args");
-
 
172054
 
-
 
172055
    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)1);
-
 
172056
    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)2);
-
 
172057
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("item_id", org.apache.thrift.protocol.TType.I64, (short)3);
-
 
172058
 
-
 
172059
    private long timestamp; // required
-
 
172060
    private long source; // required
-
 
172061
    private long item_id; // required
-
 
172062
 
-
 
172063
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
172064
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
172065
      TIMESTAMP((short)1, "timestamp"),
-
 
172066
      SOURCE((short)2, "source"),
-
 
172067
      ITEM_ID((short)3, "item_id");
-
 
172068
 
-
 
172069
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
172070
 
-
 
172071
      static {
-
 
172072
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
172073
          byName.put(field.getFieldName(), field);
-
 
172074
        }
-
 
172075
      }
-
 
172076
 
-
 
172077
      /**
-
 
172078
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
172079
       */
-
 
172080
      public static _Fields findByThriftId(int fieldId) {
-
 
172081
        switch(fieldId) {
-
 
172082
          case 1: // TIMESTAMP
-
 
172083
            return TIMESTAMP;
-
 
172084
          case 2: // SOURCE
-
 
172085
            return SOURCE;
-
 
172086
          case 3: // ITEM_ID
-
 
172087
            return ITEM_ID;
-
 
172088
          default:
-
 
172089
            return null;
-
 
172090
        }
-
 
172091
      }
-
 
172092
 
-
 
172093
      /**
-
 
172094
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
172095
       * if it is not found.
-
 
172096
       */
-
 
172097
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
172098
        _Fields fields = findByThriftId(fieldId);
-
 
172099
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
172100
        return fields;
-
 
172101
      }
-
 
172102
 
-
 
172103
      /**
-
 
172104
       * Find the _Fields constant that matches name, or null if its not found.
-
 
172105
       */
-
 
172106
      public static _Fields findByName(String name) {
-
 
172107
        return byName.get(name);
-
 
172108
      }
-
 
172109
 
-
 
172110
      private final short _thriftId;
-
 
172111
      private final String _fieldName;
-
 
172112
 
-
 
172113
      _Fields(short thriftId, String fieldName) {
-
 
172114
        _thriftId = thriftId;
-
 
172115
        _fieldName = fieldName;
-
 
172116
      }
-
 
172117
 
-
 
172118
      public short getThriftFieldId() {
-
 
172119
        return _thriftId;
-
 
172120
      }
-
 
172121
 
-
 
172122
      public String getFieldName() {
-
 
172123
        return _fieldName;
-
 
172124
      }
-
 
172125
    }
-
 
172126
 
-
 
172127
    // isset id assignments
-
 
172128
    private static final int __TIMESTAMP_ISSET_ID = 0;
-
 
172129
    private static final int __SOURCE_ISSET_ID = 1;
-
 
172130
    private static final int __ITEM_ID_ISSET_ID = 2;
-
 
172131
    private BitSet __isset_bit_vector = new BitSet(3);
-
 
172132
 
-
 
172133
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
172134
    static {
-
 
172135
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
172136
      tmpMap.put(_Fields.TIMESTAMP, new org.apache.thrift.meta_data.FieldMetaData("timestamp", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
172137
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
172138
      tmpMap.put(_Fields.SOURCE, new org.apache.thrift.meta_data.FieldMetaData("source", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
172139
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
172140
      tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("item_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
172141
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
172142
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
172143
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersCreatedAfterTimestampForSource_args.class, metaDataMap);
-
 
172144
    }
-
 
172145
 
-
 
172146
    public getOrdersCreatedAfterTimestampForSource_args() {
-
 
172147
    }
-
 
172148
 
-
 
172149
    public getOrdersCreatedAfterTimestampForSource_args(
-
 
172150
      long timestamp,
-
 
172151
      long source,
-
 
172152
      long item_id)
-
 
172153
    {
-
 
172154
      this();
-
 
172155
      this.timestamp = timestamp;
-
 
172156
      setTimestampIsSet(true);
-
 
172157
      this.source = source;
-
 
172158
      setSourceIsSet(true);
-
 
172159
      this.item_id = item_id;
-
 
172160
      setItem_idIsSet(true);
-
 
172161
    }
-
 
172162
 
-
 
172163
    /**
-
 
172164
     * Performs a deep copy on <i>other</i>.
-
 
172165
     */
-
 
172166
    public getOrdersCreatedAfterTimestampForSource_args(getOrdersCreatedAfterTimestampForSource_args other) {
-
 
172167
      __isset_bit_vector.clear();
-
 
172168
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
172169
      this.timestamp = other.timestamp;
-
 
172170
      this.source = other.source;
-
 
172171
      this.item_id = other.item_id;
-
 
172172
    }
-
 
172173
 
-
 
172174
    public getOrdersCreatedAfterTimestampForSource_args deepCopy() {
-
 
172175
      return new getOrdersCreatedAfterTimestampForSource_args(this);
-
 
172176
    }
-
 
172177
 
-
 
172178
    @Override
-
 
172179
    public void clear() {
-
 
172180
      setTimestampIsSet(false);
-
 
172181
      this.timestamp = 0;
-
 
172182
      setSourceIsSet(false);
-
 
172183
      this.source = 0;
-
 
172184
      setItem_idIsSet(false);
-
 
172185
      this.item_id = 0;
-
 
172186
    }
-
 
172187
 
-
 
172188
    public long getTimestamp() {
-
 
172189
      return this.timestamp;
-
 
172190
    }
-
 
172191
 
-
 
172192
    public void setTimestamp(long timestamp) {
-
 
172193
      this.timestamp = timestamp;
-
 
172194
      setTimestampIsSet(true);
-
 
172195
    }
-
 
172196
 
-
 
172197
    public void unsetTimestamp() {
-
 
172198
      __isset_bit_vector.clear(__TIMESTAMP_ISSET_ID);
-
 
172199
    }
-
 
172200
 
-
 
172201
    /** Returns true if field timestamp is set (has been assigned a value) and false otherwise */
-
 
172202
    public boolean isSetTimestamp() {
-
 
172203
      return __isset_bit_vector.get(__TIMESTAMP_ISSET_ID);
-
 
172204
    }
-
 
172205
 
-
 
172206
    public void setTimestampIsSet(boolean value) {
-
 
172207
      __isset_bit_vector.set(__TIMESTAMP_ISSET_ID, value);
-
 
172208
    }
-
 
172209
 
-
 
172210
    public long getSource() {
-
 
172211
      return this.source;
-
 
172212
    }
-
 
172213
 
-
 
172214
    public void setSource(long source) {
-
 
172215
      this.source = source;
-
 
172216
      setSourceIsSet(true);
-
 
172217
    }
-
 
172218
 
-
 
172219
    public void unsetSource() {
-
 
172220
      __isset_bit_vector.clear(__SOURCE_ISSET_ID);
-
 
172221
    }
-
 
172222
 
-
 
172223
    /** Returns true if field source is set (has been assigned a value) and false otherwise */
-
 
172224
    public boolean isSetSource() {
-
 
172225
      return __isset_bit_vector.get(__SOURCE_ISSET_ID);
-
 
172226
    }
-
 
172227
 
-
 
172228
    public void setSourceIsSet(boolean value) {
-
 
172229
      __isset_bit_vector.set(__SOURCE_ISSET_ID, value);
-
 
172230
    }
-
 
172231
 
-
 
172232
    public long getItem_id() {
-
 
172233
      return this.item_id;
-
 
172234
    }
-
 
172235
 
-
 
172236
    public void setItem_id(long item_id) {
-
 
172237
      this.item_id = item_id;
-
 
172238
      setItem_idIsSet(true);
-
 
172239
    }
-
 
172240
 
-
 
172241
    public void unsetItem_id() {
-
 
172242
      __isset_bit_vector.clear(__ITEM_ID_ISSET_ID);
-
 
172243
    }
-
 
172244
 
-
 
172245
    /** Returns true if field item_id is set (has been assigned a value) and false otherwise */
-
 
172246
    public boolean isSetItem_id() {
-
 
172247
      return __isset_bit_vector.get(__ITEM_ID_ISSET_ID);
-
 
172248
    }
-
 
172249
 
-
 
172250
    public void setItem_idIsSet(boolean value) {
-
 
172251
      __isset_bit_vector.set(__ITEM_ID_ISSET_ID, value);
-
 
172252
    }
-
 
172253
 
-
 
172254
    public void setFieldValue(_Fields field, Object value) {
-
 
172255
      switch (field) {
-
 
172256
      case TIMESTAMP:
-
 
172257
        if (value == null) {
-
 
172258
          unsetTimestamp();
-
 
172259
        } else {
-
 
172260
          setTimestamp((Long)value);
-
 
172261
        }
-
 
172262
        break;
-
 
172263
 
-
 
172264
      case SOURCE:
-
 
172265
        if (value == null) {
-
 
172266
          unsetSource();
-
 
172267
        } else {
-
 
172268
          setSource((Long)value);
-
 
172269
        }
-
 
172270
        break;
-
 
172271
 
-
 
172272
      case ITEM_ID:
-
 
172273
        if (value == null) {
-
 
172274
          unsetItem_id();
-
 
172275
        } else {
-
 
172276
          setItem_id((Long)value);
-
 
172277
        }
-
 
172278
        break;
-
 
172279
 
-
 
172280
      }
-
 
172281
    }
-
 
172282
 
-
 
172283
    public Object getFieldValue(_Fields field) {
-
 
172284
      switch (field) {
-
 
172285
      case TIMESTAMP:
-
 
172286
        return Long.valueOf(getTimestamp());
-
 
172287
 
-
 
172288
      case SOURCE:
-
 
172289
        return Long.valueOf(getSource());
-
 
172290
 
-
 
172291
      case ITEM_ID:
-
 
172292
        return Long.valueOf(getItem_id());
-
 
172293
 
-
 
172294
      }
-
 
172295
      throw new IllegalStateException();
-
 
172296
    }
-
 
172297
 
-
 
172298
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
172299
    public boolean isSet(_Fields field) {
-
 
172300
      if (field == null) {
-
 
172301
        throw new IllegalArgumentException();
-
 
172302
      }
-
 
172303
 
-
 
172304
      switch (field) {
-
 
172305
      case TIMESTAMP:
-
 
172306
        return isSetTimestamp();
-
 
172307
      case SOURCE:
-
 
172308
        return isSetSource();
-
 
172309
      case ITEM_ID:
-
 
172310
        return isSetItem_id();
-
 
172311
      }
-
 
172312
      throw new IllegalStateException();
-
 
172313
    }
-
 
172314
 
-
 
172315
    @Override
-
 
172316
    public boolean equals(Object that) {
-
 
172317
      if (that == null)
-
 
172318
        return false;
-
 
172319
      if (that instanceof getOrdersCreatedAfterTimestampForSource_args)
-
 
172320
        return this.equals((getOrdersCreatedAfterTimestampForSource_args)that);
-
 
172321
      return false;
-
 
172322
    }
-
 
172323
 
-
 
172324
    public boolean equals(getOrdersCreatedAfterTimestampForSource_args that) {
-
 
172325
      if (that == null)
-
 
172326
        return false;
-
 
172327
 
-
 
172328
      boolean this_present_timestamp = true;
-
 
172329
      boolean that_present_timestamp = true;
-
 
172330
      if (this_present_timestamp || that_present_timestamp) {
-
 
172331
        if (!(this_present_timestamp && that_present_timestamp))
-
 
172332
          return false;
-
 
172333
        if (this.timestamp != that.timestamp)
-
 
172334
          return false;
-
 
172335
      }
-
 
172336
 
-
 
172337
      boolean this_present_source = true;
-
 
172338
      boolean that_present_source = true;
-
 
172339
      if (this_present_source || that_present_source) {
-
 
172340
        if (!(this_present_source && that_present_source))
-
 
172341
          return false;
-
 
172342
        if (this.source != that.source)
-
 
172343
          return false;
-
 
172344
      }
-
 
172345
 
-
 
172346
      boolean this_present_item_id = true;
-
 
172347
      boolean that_present_item_id = true;
-
 
172348
      if (this_present_item_id || that_present_item_id) {
-
 
172349
        if (!(this_present_item_id && that_present_item_id))
-
 
172350
          return false;
-
 
172351
        if (this.item_id != that.item_id)
-
 
172352
          return false;
-
 
172353
      }
-
 
172354
 
-
 
172355
      return true;
-
 
172356
    }
-
 
172357
 
-
 
172358
    @Override
-
 
172359
    public int hashCode() {
-
 
172360
      return 0;
-
 
172361
    }
-
 
172362
 
-
 
172363
    public int compareTo(getOrdersCreatedAfterTimestampForSource_args other) {
-
 
172364
      if (!getClass().equals(other.getClass())) {
-
 
172365
        return getClass().getName().compareTo(other.getClass().getName());
-
 
172366
      }
-
 
172367
 
-
 
172368
      int lastComparison = 0;
-
 
172369
      getOrdersCreatedAfterTimestampForSource_args typedOther = (getOrdersCreatedAfterTimestampForSource_args)other;
-
 
172370
 
-
 
172371
      lastComparison = Boolean.valueOf(isSetTimestamp()).compareTo(typedOther.isSetTimestamp());
-
 
172372
      if (lastComparison != 0) {
-
 
172373
        return lastComparison;
-
 
172374
      }
-
 
172375
      if (isSetTimestamp()) {
-
 
172376
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.timestamp, typedOther.timestamp);
-
 
172377
        if (lastComparison != 0) {
-
 
172378
          return lastComparison;
-
 
172379
        }
-
 
172380
      }
-
 
172381
      lastComparison = Boolean.valueOf(isSetSource()).compareTo(typedOther.isSetSource());
-
 
172382
      if (lastComparison != 0) {
-
 
172383
        return lastComparison;
-
 
172384
      }
-
 
172385
      if (isSetSource()) {
-
 
172386
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.source, typedOther.source);
-
 
172387
        if (lastComparison != 0) {
-
 
172388
          return lastComparison;
-
 
172389
        }
-
 
172390
      }
-
 
172391
      lastComparison = Boolean.valueOf(isSetItem_id()).compareTo(typedOther.isSetItem_id());
-
 
172392
      if (lastComparison != 0) {
-
 
172393
        return lastComparison;
-
 
172394
      }
-
 
172395
      if (isSetItem_id()) {
-
 
172396
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.item_id, typedOther.item_id);
-
 
172397
        if (lastComparison != 0) {
-
 
172398
          return lastComparison;
-
 
172399
        }
-
 
172400
      }
-
 
172401
      return 0;
-
 
172402
    }
-
 
172403
 
-
 
172404
    public _Fields fieldForId(int fieldId) {
-
 
172405
      return _Fields.findByThriftId(fieldId);
-
 
172406
    }
-
 
172407
 
-
 
172408
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
172409
      org.apache.thrift.protocol.TField field;
-
 
172410
      iprot.readStructBegin();
-
 
172411
      while (true)
-
 
172412
      {
-
 
172413
        field = iprot.readFieldBegin();
-
 
172414
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
172415
          break;
-
 
172416
        }
-
 
172417
        switch (field.id) {
-
 
172418
          case 1: // TIMESTAMP
-
 
172419
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
172420
              this.timestamp = iprot.readI64();
-
 
172421
              setTimestampIsSet(true);
-
 
172422
            } else { 
-
 
172423
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
172424
            }
-
 
172425
            break;
-
 
172426
          case 2: // SOURCE
-
 
172427
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
172428
              this.source = iprot.readI64();
-
 
172429
              setSourceIsSet(true);
-
 
172430
            } else { 
-
 
172431
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
172432
            }
-
 
172433
            break;
-
 
172434
          case 3: // ITEM_ID
-
 
172435
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
172436
              this.item_id = iprot.readI64();
-
 
172437
              setItem_idIsSet(true);
-
 
172438
            } else { 
-
 
172439
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
172440
            }
-
 
172441
            break;
-
 
172442
          default:
-
 
172443
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
172444
        }
-
 
172445
        iprot.readFieldEnd();
-
 
172446
      }
-
 
172447
      iprot.readStructEnd();
-
 
172448
      validate();
-
 
172449
    }
-
 
172450
 
-
 
172451
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
172452
      validate();
-
 
172453
 
-
 
172454
      oprot.writeStructBegin(STRUCT_DESC);
-
 
172455
      oprot.writeFieldBegin(TIMESTAMP_FIELD_DESC);
-
 
172456
      oprot.writeI64(this.timestamp);
-
 
172457
      oprot.writeFieldEnd();
-
 
172458
      oprot.writeFieldBegin(SOURCE_FIELD_DESC);
-
 
172459
      oprot.writeI64(this.source);
-
 
172460
      oprot.writeFieldEnd();
-
 
172461
      oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
-
 
172462
      oprot.writeI64(this.item_id);
-
 
172463
      oprot.writeFieldEnd();
-
 
172464
      oprot.writeFieldStop();
-
 
172465
      oprot.writeStructEnd();
-
 
172466
    }
-
 
172467
 
-
 
172468
    @Override
-
 
172469
    public String toString() {
-
 
172470
      StringBuilder sb = new StringBuilder("getOrdersCreatedAfterTimestampForSource_args(");
-
 
172471
      boolean first = true;
-
 
172472
 
-
 
172473
      sb.append("timestamp:");
-
 
172474
      sb.append(this.timestamp);
-
 
172475
      first = false;
-
 
172476
      if (!first) sb.append(", ");
-
 
172477
      sb.append("source:");
-
 
172478
      sb.append(this.source);
-
 
172479
      first = false;
-
 
172480
      if (!first) sb.append(", ");
-
 
172481
      sb.append("item_id:");
-
 
172482
      sb.append(this.item_id);
-
 
172483
      first = false;
-
 
172484
      sb.append(")");
-
 
172485
      return sb.toString();
-
 
172486
    }
-
 
172487
 
-
 
172488
    public void validate() throws org.apache.thrift.TException {
-
 
172489
      // check for required fields
-
 
172490
    }
-
 
172491
 
-
 
172492
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
172493
      try {
-
 
172494
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
172495
      } catch (org.apache.thrift.TException te) {
-
 
172496
        throw new java.io.IOException(te);
-
 
172497
      }
-
 
172498
    }
-
 
172499
 
-
 
172500
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
172501
      try {
-
 
172502
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
172503
        __isset_bit_vector = new BitSet(1);
-
 
172504
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
172505
      } catch (org.apache.thrift.TException te) {
-
 
172506
        throw new java.io.IOException(te);
-
 
172507
      }
-
 
172508
    }
-
 
172509
 
-
 
172510
  }
-
 
172511
 
-
 
172512
  public static class getOrdersCreatedAfterTimestampForSource_result implements org.apache.thrift.TBase<getOrdersCreatedAfterTimestampForSource_result, getOrdersCreatedAfterTimestampForSource_result._Fields>, java.io.Serializable, Cloneable   {
-
 
172513
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOrdersCreatedAfterTimestampForSource_result");
-
 
172514
 
-
 
172515
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.I64, (short)0);
-
 
172516
 
-
 
172517
    private long success; // required
-
 
172518
 
-
 
172519
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
172520
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
172521
      SUCCESS((short)0, "success");
-
 
172522
 
-
 
172523
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
172524
 
-
 
172525
      static {
-
 
172526
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
172527
          byName.put(field.getFieldName(), field);
-
 
172528
        }
-
 
172529
      }
-
 
172530
 
-
 
172531
      /**
-
 
172532
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
172533
       */
-
 
172534
      public static _Fields findByThriftId(int fieldId) {
-
 
172535
        switch(fieldId) {
-
 
172536
          case 0: // SUCCESS
-
 
172537
            return SUCCESS;
-
 
172538
          default:
-
 
172539
            return null;
-
 
172540
        }
-
 
172541
      }
-
 
172542
 
-
 
172543
      /**
-
 
172544
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
172545
       * if it is not found.
-
 
172546
       */
-
 
172547
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
172548
        _Fields fields = findByThriftId(fieldId);
-
 
172549
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
172550
        return fields;
-
 
172551
      }
-
 
172552
 
-
 
172553
      /**
-
 
172554
       * Find the _Fields constant that matches name, or null if its not found.
-
 
172555
       */
-
 
172556
      public static _Fields findByName(String name) {
-
 
172557
        return byName.get(name);
-
 
172558
      }
-
 
172559
 
-
 
172560
      private final short _thriftId;
-
 
172561
      private final String _fieldName;
-
 
172562
 
-
 
172563
      _Fields(short thriftId, String fieldName) {
-
 
172564
        _thriftId = thriftId;
-
 
172565
        _fieldName = fieldName;
-
 
172566
      }
-
 
172567
 
-
 
172568
      public short getThriftFieldId() {
-
 
172569
        return _thriftId;
-
 
172570
      }
-
 
172571
 
-
 
172572
      public String getFieldName() {
-
 
172573
        return _fieldName;
-
 
172574
      }
-
 
172575
    }
-
 
172576
 
-
 
172577
    // isset id assignments
-
 
172578
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
172579
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
172580
 
-
 
172581
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
172582
    static {
-
 
172583
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
172584
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
172585
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
172586
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
172587
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOrdersCreatedAfterTimestampForSource_result.class, metaDataMap);
-
 
172588
    }
-
 
172589
 
-
 
172590
    public getOrdersCreatedAfterTimestampForSource_result() {
-
 
172591
    }
-
 
172592
 
-
 
172593
    public getOrdersCreatedAfterTimestampForSource_result(
-
 
172594
      long success)
-
 
172595
    {
-
 
172596
      this();
-
 
172597
      this.success = success;
-
 
172598
      setSuccessIsSet(true);
-
 
172599
    }
-
 
172600
 
-
 
172601
    /**
-
 
172602
     * Performs a deep copy on <i>other</i>.
-
 
172603
     */
-
 
172604
    public getOrdersCreatedAfterTimestampForSource_result(getOrdersCreatedAfterTimestampForSource_result other) {
-
 
172605
      __isset_bit_vector.clear();
-
 
172606
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
172607
      this.success = other.success;
-
 
172608
    }
-
 
172609
 
-
 
172610
    public getOrdersCreatedAfterTimestampForSource_result deepCopy() {
-
 
172611
      return new getOrdersCreatedAfterTimestampForSource_result(this);
-
 
172612
    }
-
 
172613
 
-
 
172614
    @Override
-
 
172615
    public void clear() {
-
 
172616
      setSuccessIsSet(false);
-
 
172617
      this.success = 0;
-
 
172618
    }
-
 
172619
 
-
 
172620
    public long getSuccess() {
-
 
172621
      return this.success;
-
 
172622
    }
-
 
172623
 
-
 
172624
    public void setSuccess(long success) {
-
 
172625
      this.success = success;
-
 
172626
      setSuccessIsSet(true);
-
 
172627
    }
-
 
172628
 
-
 
172629
    public void unsetSuccess() {
-
 
172630
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
172631
    }
-
 
172632
 
-
 
172633
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
172634
    public boolean isSetSuccess() {
-
 
172635
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
172636
    }
-
 
172637
 
-
 
172638
    public void setSuccessIsSet(boolean value) {
-
 
172639
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
172640
    }
-
 
172641
 
-
 
172642
    public void setFieldValue(_Fields field, Object value) {
-
 
172643
      switch (field) {
-
 
172644
      case SUCCESS:
-
 
172645
        if (value == null) {
-
 
172646
          unsetSuccess();
-
 
172647
        } else {
-
 
172648
          setSuccess((Long)value);
-
 
172649
        }
-
 
172650
        break;
-
 
172651
 
-
 
172652
      }
-
 
172653
    }
-
 
172654
 
-
 
172655
    public Object getFieldValue(_Fields field) {
-
 
172656
      switch (field) {
-
 
172657
      case SUCCESS:
-
 
172658
        return Long.valueOf(getSuccess());
-
 
172659
 
-
 
172660
      }
-
 
172661
      throw new IllegalStateException();
-
 
172662
    }
-
 
172663
 
-
 
172664
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
172665
    public boolean isSet(_Fields field) {
-
 
172666
      if (field == null) {
-
 
172667
        throw new IllegalArgumentException();
-
 
172668
      }
-
 
172669
 
-
 
172670
      switch (field) {
-
 
172671
      case SUCCESS:
-
 
172672
        return isSetSuccess();
-
 
172673
      }
-
 
172674
      throw new IllegalStateException();
-
 
172675
    }
-
 
172676
 
-
 
172677
    @Override
-
 
172678
    public boolean equals(Object that) {
-
 
172679
      if (that == null)
-
 
172680
        return false;
-
 
172681
      if (that instanceof getOrdersCreatedAfterTimestampForSource_result)
-
 
172682
        return this.equals((getOrdersCreatedAfterTimestampForSource_result)that);
-
 
172683
      return false;
-
 
172684
    }
-
 
172685
 
-
 
172686
    public boolean equals(getOrdersCreatedAfterTimestampForSource_result that) {
-
 
172687
      if (that == null)
-
 
172688
        return false;
-
 
172689
 
-
 
172690
      boolean this_present_success = true;
-
 
172691
      boolean that_present_success = true;
-
 
172692
      if (this_present_success || that_present_success) {
-
 
172693
        if (!(this_present_success && that_present_success))
-
 
172694
          return false;
-
 
172695
        if (this.success != that.success)
-
 
172696
          return false;
-
 
172697
      }
-
 
172698
 
-
 
172699
      return true;
-
 
172700
    }
-
 
172701
 
-
 
172702
    @Override
-
 
172703
    public int hashCode() {
-
 
172704
      return 0;
-
 
172705
    }
-
 
172706
 
-
 
172707
    public int compareTo(getOrdersCreatedAfterTimestampForSource_result other) {
-
 
172708
      if (!getClass().equals(other.getClass())) {
-
 
172709
        return getClass().getName().compareTo(other.getClass().getName());
-
 
172710
      }
-
 
172711
 
-
 
172712
      int lastComparison = 0;
-
 
172713
      getOrdersCreatedAfterTimestampForSource_result typedOther = (getOrdersCreatedAfterTimestampForSource_result)other;
-
 
172714
 
-
 
172715
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
172716
      if (lastComparison != 0) {
-
 
172717
        return lastComparison;
-
 
172718
      }
-
 
172719
      if (isSetSuccess()) {
-
 
172720
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
172721
        if (lastComparison != 0) {
-
 
172722
          return lastComparison;
-
 
172723
        }
-
 
172724
      }
-
 
172725
      return 0;
-
 
172726
    }
-
 
172727
 
-
 
172728
    public _Fields fieldForId(int fieldId) {
-
 
172729
      return _Fields.findByThriftId(fieldId);
-
 
172730
    }
-
 
172731
 
-
 
172732
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
172733
      org.apache.thrift.protocol.TField field;
-
 
172734
      iprot.readStructBegin();
-
 
172735
      while (true)
-
 
172736
      {
-
 
172737
        field = iprot.readFieldBegin();
-
 
172738
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
172739
          break;
-
 
172740
        }
-
 
172741
        switch (field.id) {
-
 
172742
          case 0: // SUCCESS
-
 
172743
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
172744
              this.success = iprot.readI64();
-
 
172745
              setSuccessIsSet(true);
-
 
172746
            } else { 
-
 
172747
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
172748
            }
-
 
172749
            break;
-
 
172750
          default:
-
 
172751
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
172752
        }
-
 
172753
        iprot.readFieldEnd();
-
 
172754
      }
-
 
172755
      iprot.readStructEnd();
-
 
172756
      validate();
-
 
172757
    }
-
 
172758
 
-
 
172759
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
172760
      oprot.writeStructBegin(STRUCT_DESC);
-
 
172761
 
-
 
172762
      if (this.isSetSuccess()) {
-
 
172763
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
172764
        oprot.writeI64(this.success);
-
 
172765
        oprot.writeFieldEnd();
-
 
172766
      }
-
 
172767
      oprot.writeFieldStop();
-
 
172768
      oprot.writeStructEnd();
-
 
172769
    }
-
 
172770
 
-
 
172771
    @Override
-
 
172772
    public String toString() {
-
 
172773
      StringBuilder sb = new StringBuilder("getOrdersCreatedAfterTimestampForSource_result(");
-
 
172774
      boolean first = true;
-
 
172775
 
-
 
172776
      sb.append("success:");
-
 
172777
      sb.append(this.success);
-
 
172778
      first = false;
-
 
172779
      sb.append(")");
-
 
172780
      return sb.toString();
-
 
172781
    }
-
 
172782
 
-
 
172783
    public void validate() throws org.apache.thrift.TException {
171946
      // check for required fields
172784
      // check for required fields
171947
    }
172785
    }
171948
 
172786
 
171949
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
172787
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
171950
      try {
172788
      try {