| Line 31... |
Line 31... |
| 31 |
private static final org.apache.thrift.protocol.TField SHOPPING_CARTID_FIELD_DESC = new org.apache.thrift.protocol.TField("shoppingCartid", org.apache.thrift.protocol.TType.I64, (short)6);
|
31 |
private static final org.apache.thrift.protocol.TField SHOPPING_CARTID_FIELD_DESC = new org.apache.thrift.protocol.TField("shoppingCartid", org.apache.thrift.protocol.TType.I64, (short)6);
|
| 32 |
private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_id", org.apache.thrift.protocol.TType.I64, (short)7);
|
32 |
private static final org.apache.thrift.protocol.TField CUSTOMER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("customer_id", org.apache.thrift.protocol.TType.I64, (short)7);
|
| 33 |
private static final org.apache.thrift.protocol.TField COUPON_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("coupon_code", org.apache.thrift.protocol.TType.STRING, (short)8);
|
33 |
private static final org.apache.thrift.protocol.TField COUPON_CODE_FIELD_DESC = new org.apache.thrift.protocol.TField("coupon_code", org.apache.thrift.protocol.TType.STRING, (short)8);
|
| 34 |
private static final org.apache.thrift.protocol.TField SESSION_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionSource", org.apache.thrift.protocol.TType.STRING, (short)9);
|
34 |
private static final org.apache.thrift.protocol.TField SESSION_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionSource", org.apache.thrift.protocol.TType.STRING, (short)9);
|
| 35 |
private static final org.apache.thrift.protocol.TField SESSION_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionStartTime", org.apache.thrift.protocol.TType.I64, (short)10);
|
35 |
private static final org.apache.thrift.protocol.TField SESSION_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionStartTime", org.apache.thrift.protocol.TType.I64, (short)10);
|
| - |
|
36 |
private static final org.apache.thrift.protocol.TField FIRST_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSource", org.apache.thrift.protocol.TType.STRING, (short)11);
|
| - |
|
37 |
private static final org.apache.thrift.protocol.TField FIRST_SOURCE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSourceTime", org.apache.thrift.protocol.TType.I64, (short)12);
|
| 36 |
|
38 |
|
| 37 |
private long id; // required
|
39 |
private long id; // required
|
| 38 |
private List<Order> orders; // required
|
40 |
private List<Order> orders; // required
|
| 39 |
private long createdOn; // required
|
41 |
private long createdOn; // required
|
| 40 |
private TransactionStatus transactionStatus; // required
|
42 |
private TransactionStatus transactionStatus; // required
|
| Line 42... |
Line 44... |
| 42 |
private long shoppingCartid; // required
|
44 |
private long shoppingCartid; // required
|
| 43 |
private long customer_id; // required
|
45 |
private long customer_id; // required
|
| 44 |
private String coupon_code; // required
|
46 |
private String coupon_code; // required
|
| 45 |
private String sessionSource; // required
|
47 |
private String sessionSource; // required
|
| 46 |
private long sessionStartTime; // required
|
48 |
private long sessionStartTime; // required
|
| - |
|
49 |
private String firstSource; // required
|
| - |
|
50 |
private long firstSourceTime; // required
|
| 47 |
|
51 |
|
| 48 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
52 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 49 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
53 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 50 |
ID((short)1, "id"),
|
54 |
ID((short)1, "id"),
|
| 51 |
ORDERS((short)2, "orders"),
|
55 |
ORDERS((short)2, "orders"),
|
| Line 58... |
Line 62... |
| 58 |
STATUS_DESCRIPTION((short)5, "statusDescription"),
|
62 |
STATUS_DESCRIPTION((short)5, "statusDescription"),
|
| 59 |
SHOPPING_CARTID((short)6, "shoppingCartid"),
|
63 |
SHOPPING_CARTID((short)6, "shoppingCartid"),
|
| 60 |
CUSTOMER_ID((short)7, "customer_id"),
|
64 |
CUSTOMER_ID((short)7, "customer_id"),
|
| 61 |
COUPON_CODE((short)8, "coupon_code"),
|
65 |
COUPON_CODE((short)8, "coupon_code"),
|
| 62 |
SESSION_SOURCE((short)9, "sessionSource"),
|
66 |
SESSION_SOURCE((short)9, "sessionSource"),
|
| 63 |
SESSION_START_TIME((short)10, "sessionStartTime");
|
67 |
SESSION_START_TIME((short)10, "sessionStartTime"),
|
| - |
|
68 |
FIRST_SOURCE((short)11, "firstSource"),
|
| - |
|
69 |
FIRST_SOURCE_TIME((short)12, "firstSourceTime");
|
| 64 |
|
70 |
|
| 65 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
71 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 66 |
|
72 |
|
| 67 |
static {
|
73 |
static {
|
| 68 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
74 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 93... |
Line 99... |
| 93 |
return COUPON_CODE;
|
99 |
return COUPON_CODE;
|
| 94 |
case 9: // SESSION_SOURCE
|
100 |
case 9: // SESSION_SOURCE
|
| 95 |
return SESSION_SOURCE;
|
101 |
return SESSION_SOURCE;
|
| 96 |
case 10: // SESSION_START_TIME
|
102 |
case 10: // SESSION_START_TIME
|
| 97 |
return SESSION_START_TIME;
|
103 |
return SESSION_START_TIME;
|
| - |
|
104 |
case 11: // FIRST_SOURCE
|
| - |
|
105 |
return FIRST_SOURCE;
|
| - |
|
106 |
case 12: // FIRST_SOURCE_TIME
|
| - |
|
107 |
return FIRST_SOURCE_TIME;
|
| 98 |
default:
|
108 |
default:
|
| 99 |
return null;
|
109 |
return null;
|
| 100 |
}
|
110 |
}
|
| 101 |
}
|
111 |
}
|
| 102 |
|
112 |
|
| Line 138... |
Line 148... |
| 138 |
private static final int __ID_ISSET_ID = 0;
|
148 |
private static final int __ID_ISSET_ID = 0;
|
| 139 |
private static final int __CREATEDON_ISSET_ID = 1;
|
149 |
private static final int __CREATEDON_ISSET_ID = 1;
|
| 140 |
private static final int __SHOPPINGCARTID_ISSET_ID = 2;
|
150 |
private static final int __SHOPPINGCARTID_ISSET_ID = 2;
|
| 141 |
private static final int __CUSTOMER_ID_ISSET_ID = 3;
|
151 |
private static final int __CUSTOMER_ID_ISSET_ID = 3;
|
| 142 |
private static final int __SESSIONSTARTTIME_ISSET_ID = 4;
|
152 |
private static final int __SESSIONSTARTTIME_ISSET_ID = 4;
|
| - |
|
153 |
private static final int __FIRSTSOURCETIME_ISSET_ID = 5;
|
| 143 |
private BitSet __isset_bit_vector = new BitSet(5);
|
154 |
private BitSet __isset_bit_vector = new BitSet(6);
|
| 144 |
|
155 |
|
| 145 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
156 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 146 |
static {
|
157 |
static {
|
| 147 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
158 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 148 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
159 |
tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 164... |
Line 175... |
| 164 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
175 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 165 |
tmpMap.put(_Fields.SESSION_SOURCE, new org.apache.thrift.meta_data.FieldMetaData("sessionSource", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
176 |
tmpMap.put(_Fields.SESSION_SOURCE, new org.apache.thrift.meta_data.FieldMetaData("sessionSource", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 166 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
177 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 167 |
tmpMap.put(_Fields.SESSION_START_TIME, new org.apache.thrift.meta_data.FieldMetaData("sessionStartTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
178 |
tmpMap.put(_Fields.SESSION_START_TIME, new org.apache.thrift.meta_data.FieldMetaData("sessionStartTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 168 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
179 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
180 |
tmpMap.put(_Fields.FIRST_SOURCE, new org.apache.thrift.meta_data.FieldMetaData("firstSource", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
181 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
182 |
tmpMap.put(_Fields.FIRST_SOURCE_TIME, new org.apache.thrift.meta_data.FieldMetaData("firstSourceTime", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
183 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 169 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
184 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 170 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Transaction.class, metaDataMap);
|
185 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Transaction.class, metaDataMap);
|
| 171 |
}
|
186 |
}
|
| 172 |
|
187 |
|
| 173 |
public Transaction() {
|
188 |
public Transaction() {
|
| Line 181... |
Line 196... |
| 181 |
String statusDescription,
|
196 |
String statusDescription,
|
| 182 |
long shoppingCartid,
|
197 |
long shoppingCartid,
|
| 183 |
long customer_id,
|
198 |
long customer_id,
|
| 184 |
String coupon_code,
|
199 |
String coupon_code,
|
| 185 |
String sessionSource,
|
200 |
String sessionSource,
|
| 186 |
long sessionStartTime)
|
201 |
long sessionStartTime,
|
| - |
|
202 |
String firstSource,
|
| - |
|
203 |
long firstSourceTime)
|
| 187 |
{
|
204 |
{
|
| 188 |
this();
|
205 |
this();
|
| 189 |
this.id = id;
|
206 |
this.id = id;
|
| 190 |
setIdIsSet(true);
|
207 |
setIdIsSet(true);
|
| 191 |
this.orders = orders;
|
208 |
this.orders = orders;
|
| Line 199... |
Line 216... |
| 199 |
setCustomer_idIsSet(true);
|
216 |
setCustomer_idIsSet(true);
|
| 200 |
this.coupon_code = coupon_code;
|
217 |
this.coupon_code = coupon_code;
|
| 201 |
this.sessionSource = sessionSource;
|
218 |
this.sessionSource = sessionSource;
|
| 202 |
this.sessionStartTime = sessionStartTime;
|
219 |
this.sessionStartTime = sessionStartTime;
|
| 203 |
setSessionStartTimeIsSet(true);
|
220 |
setSessionStartTimeIsSet(true);
|
| - |
|
221 |
this.firstSource = firstSource;
|
| - |
|
222 |
this.firstSourceTime = firstSourceTime;
|
| - |
|
223 |
setFirstSourceTimeIsSet(true);
|
| 204 |
}
|
224 |
}
|
| 205 |
|
225 |
|
| 206 |
/**
|
226 |
/**
|
| 207 |
* Performs a deep copy on <i>other</i>.
|
227 |
* Performs a deep copy on <i>other</i>.
|
| 208 |
*/
|
228 |
*/
|
| Line 231... |
Line 251... |
| 231 |
}
|
251 |
}
|
| 232 |
if (other.isSetSessionSource()) {
|
252 |
if (other.isSetSessionSource()) {
|
| 233 |
this.sessionSource = other.sessionSource;
|
253 |
this.sessionSource = other.sessionSource;
|
| 234 |
}
|
254 |
}
|
| 235 |
this.sessionStartTime = other.sessionStartTime;
|
255 |
this.sessionStartTime = other.sessionStartTime;
|
| - |
|
256 |
if (other.isSetFirstSource()) {
|
| - |
|
257 |
this.firstSource = other.firstSource;
|
| - |
|
258 |
}
|
| - |
|
259 |
this.firstSourceTime = other.firstSourceTime;
|
| 236 |
}
|
260 |
}
|
| 237 |
|
261 |
|
| 238 |
public Transaction deepCopy() {
|
262 |
public Transaction deepCopy() {
|
| 239 |
return new Transaction(this);
|
263 |
return new Transaction(this);
|
| 240 |
}
|
264 |
}
|
| Line 254... |
Line 278... |
| 254 |
this.customer_id = 0;
|
278 |
this.customer_id = 0;
|
| 255 |
this.coupon_code = null;
|
279 |
this.coupon_code = null;
|
| 256 |
this.sessionSource = null;
|
280 |
this.sessionSource = null;
|
| 257 |
setSessionStartTimeIsSet(false);
|
281 |
setSessionStartTimeIsSet(false);
|
| 258 |
this.sessionStartTime = 0;
|
282 |
this.sessionStartTime = 0;
|
| - |
|
283 |
this.firstSource = null;
|
| - |
|
284 |
setFirstSourceTimeIsSet(false);
|
| - |
|
285 |
this.firstSourceTime = 0;
|
| 259 |
}
|
286 |
}
|
| 260 |
|
287 |
|
| 261 |
public long getId() {
|
288 |
public long getId() {
|
| 262 |
return this.id;
|
289 |
return this.id;
|
| 263 |
}
|
290 |
}
|
| Line 504... |
Line 531... |
| 504 |
|
531 |
|
| 505 |
public void setSessionStartTimeIsSet(boolean value) {
|
532 |
public void setSessionStartTimeIsSet(boolean value) {
|
| 506 |
__isset_bit_vector.set(__SESSIONSTARTTIME_ISSET_ID, value);
|
533 |
__isset_bit_vector.set(__SESSIONSTARTTIME_ISSET_ID, value);
|
| 507 |
}
|
534 |
}
|
| 508 |
|
535 |
|
| - |
|
536 |
public String getFirstSource() {
|
| - |
|
537 |
return this.firstSource;
|
| - |
|
538 |
}
|
| - |
|
539 |
|
| - |
|
540 |
public void setFirstSource(String firstSource) {
|
| - |
|
541 |
this.firstSource = firstSource;
|
| - |
|
542 |
}
|
| - |
|
543 |
|
| - |
|
544 |
public void unsetFirstSource() {
|
| - |
|
545 |
this.firstSource = null;
|
| - |
|
546 |
}
|
| - |
|
547 |
|
| - |
|
548 |
/** Returns true if field firstSource is set (has been assigned a value) and false otherwise */
|
| - |
|
549 |
public boolean isSetFirstSource() {
|
| - |
|
550 |
return this.firstSource != null;
|
| - |
|
551 |
}
|
| - |
|
552 |
|
| - |
|
553 |
public void setFirstSourceIsSet(boolean value) {
|
| - |
|
554 |
if (!value) {
|
| - |
|
555 |
this.firstSource = null;
|
| - |
|
556 |
}
|
| - |
|
557 |
}
|
| - |
|
558 |
|
| - |
|
559 |
public long getFirstSourceTime() {
|
| - |
|
560 |
return this.firstSourceTime;
|
| - |
|
561 |
}
|
| - |
|
562 |
|
| - |
|
563 |
public void setFirstSourceTime(long firstSourceTime) {
|
| - |
|
564 |
this.firstSourceTime = firstSourceTime;
|
| - |
|
565 |
setFirstSourceTimeIsSet(true);
|
| - |
|
566 |
}
|
| - |
|
567 |
|
| - |
|
568 |
public void unsetFirstSourceTime() {
|
| - |
|
569 |
__isset_bit_vector.clear(__FIRSTSOURCETIME_ISSET_ID);
|
| - |
|
570 |
}
|
| - |
|
571 |
|
| - |
|
572 |
/** Returns true if field firstSourceTime is set (has been assigned a value) and false otherwise */
|
| - |
|
573 |
public boolean isSetFirstSourceTime() {
|
| - |
|
574 |
return __isset_bit_vector.get(__FIRSTSOURCETIME_ISSET_ID);
|
| - |
|
575 |
}
|
| - |
|
576 |
|
| - |
|
577 |
public void setFirstSourceTimeIsSet(boolean value) {
|
| - |
|
578 |
__isset_bit_vector.set(__FIRSTSOURCETIME_ISSET_ID, value);
|
| - |
|
579 |
}
|
| - |
|
580 |
|
| 509 |
public void setFieldValue(_Fields field, Object value) {
|
581 |
public void setFieldValue(_Fields field, Object value) {
|
| 510 |
switch (field) {
|
582 |
switch (field) {
|
| 511 |
case ID:
|
583 |
case ID:
|
| 512 |
if (value == null) {
|
584 |
if (value == null) {
|
| 513 |
unsetId();
|
585 |
unsetId();
|
| Line 586... |
Line 658... |
| 586 |
} else {
|
658 |
} else {
|
| 587 |
setSessionStartTime((Long)value);
|
659 |
setSessionStartTime((Long)value);
|
| 588 |
}
|
660 |
}
|
| 589 |
break;
|
661 |
break;
|
| 590 |
|
662 |
|
| - |
|
663 |
case FIRST_SOURCE:
|
| - |
|
664 |
if (value == null) {
|
| - |
|
665 |
unsetFirstSource();
|
| - |
|
666 |
} else {
|
| - |
|
667 |
setFirstSource((String)value);
|
| - |
|
668 |
}
|
| - |
|
669 |
break;
|
| - |
|
670 |
|
| - |
|
671 |
case FIRST_SOURCE_TIME:
|
| - |
|
672 |
if (value == null) {
|
| - |
|
673 |
unsetFirstSourceTime();
|
| - |
|
674 |
} else {
|
| - |
|
675 |
setFirstSourceTime((Long)value);
|
| - |
|
676 |
}
|
| - |
|
677 |
break;
|
| - |
|
678 |
|
| 591 |
}
|
679 |
}
|
| 592 |
}
|
680 |
}
|
| 593 |
|
681 |
|
| 594 |
public Object getFieldValue(_Fields field) {
|
682 |
public Object getFieldValue(_Fields field) {
|
| 595 |
switch (field) {
|
683 |
switch (field) {
|
| Line 621... |
Line 709... |
| 621 |
return getSessionSource();
|
709 |
return getSessionSource();
|
| 622 |
|
710 |
|
| 623 |
case SESSION_START_TIME:
|
711 |
case SESSION_START_TIME:
|
| 624 |
return Long.valueOf(getSessionStartTime());
|
712 |
return Long.valueOf(getSessionStartTime());
|
| 625 |
|
713 |
|
| - |
|
714 |
case FIRST_SOURCE:
|
| - |
|
715 |
return getFirstSource();
|
| - |
|
716 |
|
| - |
|
717 |
case FIRST_SOURCE_TIME:
|
| - |
|
718 |
return Long.valueOf(getFirstSourceTime());
|
| - |
|
719 |
|
| 626 |
}
|
720 |
}
|
| 627 |
throw new IllegalStateException();
|
721 |
throw new IllegalStateException();
|
| 628 |
}
|
722 |
}
|
| 629 |
|
723 |
|
| 630 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
724 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 652... |
Line 746... |
| 652 |
return isSetCoupon_code();
|
746 |
return isSetCoupon_code();
|
| 653 |
case SESSION_SOURCE:
|
747 |
case SESSION_SOURCE:
|
| 654 |
return isSetSessionSource();
|
748 |
return isSetSessionSource();
|
| 655 |
case SESSION_START_TIME:
|
749 |
case SESSION_START_TIME:
|
| 656 |
return isSetSessionStartTime();
|
750 |
return isSetSessionStartTime();
|
| - |
|
751 |
case FIRST_SOURCE:
|
| - |
|
752 |
return isSetFirstSource();
|
| - |
|
753 |
case FIRST_SOURCE_TIME:
|
| - |
|
754 |
return isSetFirstSourceTime();
|
| 657 |
}
|
755 |
}
|
| 658 |
throw new IllegalStateException();
|
756 |
throw new IllegalStateException();
|
| 659 |
}
|
757 |
}
|
| 660 |
|
758 |
|
| 661 |
@Override
|
759 |
@Override
|
| Line 759... |
Line 857... |
| 759 |
return false;
|
857 |
return false;
|
| 760 |
if (this.sessionStartTime != that.sessionStartTime)
|
858 |
if (this.sessionStartTime != that.sessionStartTime)
|
| 761 |
return false;
|
859 |
return false;
|
| 762 |
}
|
860 |
}
|
| 763 |
|
861 |
|
| - |
|
862 |
boolean this_present_firstSource = true && this.isSetFirstSource();
|
| - |
|
863 |
boolean that_present_firstSource = true && that.isSetFirstSource();
|
| - |
|
864 |
if (this_present_firstSource || that_present_firstSource) {
|
| - |
|
865 |
if (!(this_present_firstSource && that_present_firstSource))
|
| - |
|
866 |
return false;
|
| - |
|
867 |
if (!this.firstSource.equals(that.firstSource))
|
| - |
|
868 |
return false;
|
| - |
|
869 |
}
|
| - |
|
870 |
|
| - |
|
871 |
boolean this_present_firstSourceTime = true;
|
| - |
|
872 |
boolean that_present_firstSourceTime = true;
|
| - |
|
873 |
if (this_present_firstSourceTime || that_present_firstSourceTime) {
|
| - |
|
874 |
if (!(this_present_firstSourceTime && that_present_firstSourceTime))
|
| - |
|
875 |
return false;
|
| - |
|
876 |
if (this.firstSourceTime != that.firstSourceTime)
|
| - |
|
877 |
return false;
|
| - |
|
878 |
}
|
| - |
|
879 |
|
| 764 |
return true;
|
880 |
return true;
|
| 765 |
}
|
881 |
}
|
| 766 |
|
882 |
|
| 767 |
@Override
|
883 |
@Override
|
| 768 |
public int hashCode() {
|
884 |
public int hashCode() {
|
| Line 875... |
Line 991... |
| 875 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionStartTime, typedOther.sessionStartTime);
|
991 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sessionStartTime, typedOther.sessionStartTime);
|
| 876 |
if (lastComparison != 0) {
|
992 |
if (lastComparison != 0) {
|
| 877 |
return lastComparison;
|
993 |
return lastComparison;
|
| 878 |
}
|
994 |
}
|
| 879 |
}
|
995 |
}
|
| - |
|
996 |
lastComparison = Boolean.valueOf(isSetFirstSource()).compareTo(typedOther.isSetFirstSource());
|
| - |
|
997 |
if (lastComparison != 0) {
|
| - |
|
998 |
return lastComparison;
|
| - |
|
999 |
}
|
| - |
|
1000 |
if (isSetFirstSource()) {
|
| - |
|
1001 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.firstSource, typedOther.firstSource);
|
| - |
|
1002 |
if (lastComparison != 0) {
|
| - |
|
1003 |
return lastComparison;
|
| - |
|
1004 |
}
|
| - |
|
1005 |
}
|
| - |
|
1006 |
lastComparison = Boolean.valueOf(isSetFirstSourceTime()).compareTo(typedOther.isSetFirstSourceTime());
|
| - |
|
1007 |
if (lastComparison != 0) {
|
| - |
|
1008 |
return lastComparison;
|
| - |
|
1009 |
}
|
| - |
|
1010 |
if (isSetFirstSourceTime()) {
|
| - |
|
1011 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.firstSourceTime, typedOther.firstSourceTime);
|
| - |
|
1012 |
if (lastComparison != 0) {
|
| - |
|
1013 |
return lastComparison;
|
| - |
|
1014 |
}
|
| - |
|
1015 |
}
|
| 880 |
return 0;
|
1016 |
return 0;
|
| 881 |
}
|
1017 |
}
|
| 882 |
|
1018 |
|
| 883 |
public _Fields fieldForId(int fieldId) {
|
1019 |
public _Fields fieldForId(int fieldId) {
|
| 884 |
return _Fields.findByThriftId(fieldId);
|
1020 |
return _Fields.findByThriftId(fieldId);
|
| Line 978... |
Line 1114... |
| 978 |
setSessionStartTimeIsSet(true);
|
1114 |
setSessionStartTimeIsSet(true);
|
| 979 |
} else {
|
1115 |
} else {
|
| 980 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1116 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 981 |
}
|
1117 |
}
|
| 982 |
break;
|
1118 |
break;
|
| - |
|
1119 |
case 11: // FIRST_SOURCE
|
| - |
|
1120 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| - |
|
1121 |
this.firstSource = iprot.readString();
|
| - |
|
1122 |
} else {
|
| - |
|
1123 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1124 |
}
|
| - |
|
1125 |
break;
|
| - |
|
1126 |
case 12: // FIRST_SOURCE_TIME
|
| - |
|
1127 |
if (field.type == org.apache.thrift.protocol.TType.I64) {
|
| - |
|
1128 |
this.firstSourceTime = iprot.readI64();
|
| - |
|
1129 |
setFirstSourceTimeIsSet(true);
|
| - |
|
1130 |
} else {
|
| - |
|
1131 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
1132 |
}
|
| - |
|
1133 |
break;
|
| 983 |
default:
|
1134 |
default:
|
| 984 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
1135 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 985 |
}
|
1136 |
}
|
| 986 |
iprot.readFieldEnd();
|
1137 |
iprot.readFieldEnd();
|
| 987 |
}
|
1138 |
}
|
| Line 1038... |
Line 1189... |
| 1038 |
oprot.writeFieldEnd();
|
1189 |
oprot.writeFieldEnd();
|
| 1039 |
}
|
1190 |
}
|
| 1040 |
oprot.writeFieldBegin(SESSION_START_TIME_FIELD_DESC);
|
1191 |
oprot.writeFieldBegin(SESSION_START_TIME_FIELD_DESC);
|
| 1041 |
oprot.writeI64(this.sessionStartTime);
|
1192 |
oprot.writeI64(this.sessionStartTime);
|
| 1042 |
oprot.writeFieldEnd();
|
1193 |
oprot.writeFieldEnd();
|
| - |
|
1194 |
if (this.firstSource != null) {
|
| - |
|
1195 |
oprot.writeFieldBegin(FIRST_SOURCE_FIELD_DESC);
|
| - |
|
1196 |
oprot.writeString(this.firstSource);
|
| - |
|
1197 |
oprot.writeFieldEnd();
|
| - |
|
1198 |
}
|
| - |
|
1199 |
oprot.writeFieldBegin(FIRST_SOURCE_TIME_FIELD_DESC);
|
| - |
|
1200 |
oprot.writeI64(this.firstSourceTime);
|
| - |
|
1201 |
oprot.writeFieldEnd();
|
| 1043 |
oprot.writeFieldStop();
|
1202 |
oprot.writeFieldStop();
|
| 1044 |
oprot.writeStructEnd();
|
1203 |
oprot.writeStructEnd();
|
| 1045 |
}
|
1204 |
}
|
| 1046 |
|
1205 |
|
| 1047 |
@Override
|
1206 |
@Override
|
| Line 1106... |
Line 1265... |
| 1106 |
first = false;
|
1265 |
first = false;
|
| 1107 |
if (!first) sb.append(", ");
|
1266 |
if (!first) sb.append(", ");
|
| 1108 |
sb.append("sessionStartTime:");
|
1267 |
sb.append("sessionStartTime:");
|
| 1109 |
sb.append(this.sessionStartTime);
|
1268 |
sb.append(this.sessionStartTime);
|
| 1110 |
first = false;
|
1269 |
first = false;
|
| - |
|
1270 |
if (!first) sb.append(", ");
|
| - |
|
1271 |
sb.append("firstSource:");
|
| - |
|
1272 |
if (this.firstSource == null) {
|
| - |
|
1273 |
sb.append("null");
|
| - |
|
1274 |
} else {
|
| - |
|
1275 |
sb.append(this.firstSource);
|
| - |
|
1276 |
}
|
| - |
|
1277 |
first = false;
|
| - |
|
1278 |
if (!first) sb.append(", ");
|
| - |
|
1279 |
sb.append("firstSourceTime:");
|
| - |
|
1280 |
sb.append(this.firstSourceTime);
|
| - |
|
1281 |
first = false;
|
| 1111 |
sb.append(")");
|
1282 |
sb.append(")");
|
| 1112 |
return sb.toString();
|
1283 |
return sb.toString();
|
| 1113 |
}
|
1284 |
}
|
| 1114 |
|
1285 |
|
| 1115 |
public void validate() throws org.apache.thrift.TException {
|
1286 |
public void validate() throws org.apache.thrift.TException {
|