32 #ifndef __TPCC_STRUCT_H 33 #define __TPCC_STRUCT_H 45 #define STRSIZE(x)(x+1) 96 return ((C_C_ID == rhs.
C_C_ID) &&
102 if ((C_C_ID < rhs.
C_C_ID) ||
201 return ((H_C_ID == rhs.
H_C_ID) &&
210 if ((H_C_ID < rhs.
H_C_ID) ||
371 #endif // __TPCC_STRUCT_H int C_D_ID
Definition: tpcc_struct.h:56
int O_C_ID
Definition: tpcc_struct.h:265
char C_CITY[STRSIZE(20)]
Definition: tpcc_struct.h:63
decimal W_YTD
Definition: tpcc_struct.h:356
decimal H_AMOUNT
Definition: tpcc_struct.h:176
int S_QUANTITY
Definition: tpcc_struct.h:330
decimal C_DISCOUNT
Definition: tpcc_struct.h:70
Definition: tpcc_struct.h:112
int H_C_ID
Definition: tpcc_struct.h:188
int O_W_ID
Definition: tpcc_struct.h:278
int S_I_ID
Definition: tpcc_struct.h:327
decimal C_BALANCE
Definition: tpcc_struct.h:126
int I_IM_ID
Definition: tpcc_struct.h:240
decimal C_YTD_PAYMENT
Definition: tpcc_struct.h:127
int O_OL_CNT
Definition: tpcc_struct.h:270
int W_ID
Definition: tpcc_struct.h:348
char C_CREDIT[STRSIZE(2)]
Definition: tpcc_struct.h:68
int I_ID
Definition: tpcc_struct.h:247
decimal C_LAST_PAYMENT
Definition: tpcc_struct.h:73
int NO_O_ID
Definition: tpcc_struct.h:255
Definition: tpcc_struct.h:169
decimal C_YTD_PAYMENT
Definition: tpcc_struct.h:72
decimal W_TAX
Definition: tpcc_struct.h:355
int OL_D_ID
Definition: tpcc_struct.h:308
decimal D_TAX
Definition: tpcc_struct.h:146
int O_CARRIER_ID
Definition: tpcc_struct.h:269
int S_ORDER_CNT
Definition: tpcc_struct.h:331
decimal C_CREDIT_LIM
Definition: tpcc_struct.h:69
int S_W_ID
Definition: tpcc_struct.h:328
int C_W_ID
Definition: tpcc_struct.h:57
int OL_W_ID
Definition: tpcc_struct.h:296
Definition: tpcc_struct.h:281
int OL_QUANTITY
Definition: tpcc_struct.h:301
Definition: tpcc_struct.h:306
int O_CARRIER_ID
Definition: tpcc_struct.h:283
int O_D_ID
Definition: tpcc_struct.h:266
int OL_I_ID
Definition: tpcc_struct.h:314
int OL_AMOUNT
Definition: tpcc_struct.h:302
Definition: tpcc_struct.h:339
int D_ID
Definition: tpcc_struct.h:161
Definition: tpcc_struct.h:137
int C_W_ID
Definition: tpcc_struct.h:93
int W_ID
Definition: tpcc_struct.h:367
int D_W_ID
Definition: tpcc_struct.h:139
decimal C_DISCOUNT
Definition: tpcc_struct.h:125
Definition: tpcc_client.cpp:33
bool operator==(const tpcc_customer_tuple_key &rhs) const
Definition: tpcc_struct.h:95
Definition: tpcc_struct.h:274
int O_ID
Definition: tpcc_struct.h:275
int OL_W_ID
Definition: tpcc_struct.h:309
int D_NEXT_O_ID
Definition: tpcc_struct.h:148
char C_STREET_1[STRSIZE(20)]
Definition: tpcc_struct.h:61
time_t O_ENTRY_D
Definition: tpcc_struct.h:282
time_t H_DATE
Definition: tpcc_struct.h:175
int C_PAYMENT_CNT
Definition: tpcc_struct.h:74
Definition: tpcc_struct.h:293
int D_ID
Definition: tpcc_struct.h:138
Definition: tpcc_struct.h:54
char C_DATA_2[STRSIZE(250)]
Definition: tpcc_struct.h:76
decimal C_CREDIT_LIM
Definition: tpcc_struct.h:124
int S_W_ID
Definition: tpcc_struct.h:341
int H_C_W_ID
Definition: tpcc_struct.h:192
char C_STATE[STRSIZE(2)]
Definition: tpcc_struct.h:64
Definition: tpcc_struct.h:160
time_t OL_DELIVERY_D
Definition: tpcc_struct.h:316
Definition: tpcc_struct.h:246
int D_W_ID
Definition: tpcc_struct.h:162
Definition: tpcc_struct.h:366
int O_D_ID
Definition: tpcc_struct.h:277
int OL_I_ID
Definition: tpcc_struct.h:298
int O_W_ID
Definition: tpcc_struct.h:267
int OL_QUANTITY
Definition: tpcc_struct.h:317
int H_W_ID
Definition: tpcc_struct.h:174
int OL_O_ID
Definition: tpcc_struct.h:294
int O_ALL_LOCAL
Definition: tpcc_struct.h:271
int OL_O_ID
Definition: tpcc_struct.h:307
char C_DATA_1[STRSIZE(250)]
Definition: tpcc_struct.h:75
Definition: tpcc_struct.h:187
char C_STREET_2[STRSIZE(20)]
Definition: tpcc_struct.h:62
int H_C_ID
Definition: tpcc_struct.h:170
#define STRSIZE(x)
Definition: tpcc_struct.h:45
time_t O_ENTRY_D
Definition: tpcc_struct.h:268
int H_C_D_ID
Definition: tpcc_struct.h:190
int O_ALL_LOCAL
Definition: tpcc_struct.h:285
bool operator==(const tpcc_history_tuple_key &rhs) const
Definition: tpcc_struct.h:200
int OL_NUMBER
Definition: tpcc_struct.h:310
int C_PAYMENT_CNT
Definition: tpcc_struct.h:129
int H_D_ID
Definition: tpcc_struct.h:194
Definition: tpcc_struct.h:238
bool operator<(const tpcc_customer_tuple_key &rhs) const
Definition: tpcc_struct.h:101
time_t C_SINCE
Definition: tpcc_struct.h:67
int I_ID
Definition: tpcc_struct.h:239
char C_ZIP[STRSIZE(9)]
Definition: tpcc_struct.h:65
char C_MIDDLE[STRSIZE(2)]
Definition: tpcc_struct.h:59
char C_PHONE[STRSIZE(16)]
Definition: tpcc_struct.h:66
int S_YTD
Definition: tpcc_struct.h:332
Definition: tpcc_struct.h:88
int NO_D_ID
Definition: tpcc_struct.h:256
int I_PRICE
Definition: tpcc_struct.h:242
Definition: tpcc_struct.h:347
int OL_D_ID
Definition: tpcc_struct.h:295
int OL_SUPPLY_W_ID
Definition: tpcc_struct.h:315
decimal C_LAST_PAYMENT
Definition: tpcc_struct.h:128
int NO_W_ID
Definition: tpcc_struct.h:257
char C_LAST[STRSIZE(16)]
Definition: tpcc_struct.h:60
int H_C_W_ID
Definition: tpcc_struct.h:172
int O_OL_CNT
Definition: tpcc_struct.h:284
int C_C_ID
Definition: tpcc_struct.h:55
time_t H_DATE
Definition: tpcc_struct.h:198
Definition: tpcc_struct.h:263
int OL_NUMBER
Definition: tpcc_struct.h:297
decimal H_AMOUNT
Definition: tpcc_struct.h:231
decimal C_BALANCE
Definition: tpcc_struct.h:71
int OL_SUPPLY_W_ID
Definition: tpcc_struct.h:299
Definition: tpcc_struct.h:254
int S_I_ID
Definition: tpcc_struct.h:340
int C_C_ID
Definition: tpcc_struct.h:89
int O_ID
Definition: tpcc_struct.h:264
time_t C_SINCE
Definition: tpcc_struct.h:122
int S_REMOTE_CNT
Definition: tpcc_struct.h:329
Definition: tpcc_struct.h:326
int C_D_ID
Definition: tpcc_struct.h:91
int OL_AMOUNT
Definition: tpcc_struct.h:318
time_t OL_DELIVERY_D
Definition: tpcc_struct.h:300
Definition: tpcc_struct.h:230
int H_C_D_ID
Definition: tpcc_struct.h:171
int H_D_ID
Definition: tpcc_struct.h:173
int O_C_ID
Definition: tpcc_struct.h:276
decimal D_YTD
Definition: tpcc_struct.h:147
Definition: tpcc_struct.h:313
bool operator<(const tpcc_history_tuple_key &rhs) const
Definition: tpcc_struct.h:209
int H_W_ID
Definition: tpcc_struct.h:196
char C_FIRST[STRSIZE(16)]
Definition: tpcc_struct.h:58