CCF
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tpcc::Order Struct Reference

#include <tpcc_tables.h>

Classes

struct  Key
 

Public Member Functions

Key get_key ()
 

Public Attributes

int32_t id
 
int32_t c_id
 
int32_t d_id
 
int32_t w_id
 
int32_t carrier_id
 
int32_t ol_cnt
 
int32_t all_local
 
std::array< char, DATETIME_SIZE+1 > entry_d = {0}
 

Static Public Attributes

static const int MIN_CARRIER_ID = 1
 
static const int MAX_CARRIER_ID = 10
 
static const int NULL_CARRIER_ID = 0
 
static const int NULL_CARRIER_LOWER_BOUND = 2101
 
static const int MIN_OL_CNT = 5
 
static const int MAX_OL_CNT = 15
 
static const int INITIAL_ALL_LOCAL = 1
 
static const int INITIAL_ORDERS_PER_DISTRICT = 3000
 
static const int MAX_ORDER_ID = 10000000
 

Member Function Documentation

◆ get_key()

Key tpcc::Order::get_key ( )
inline

Member Data Documentation

◆ all_local

int32_t tpcc::Order::all_local

◆ c_id

int32_t tpcc::Order::c_id

◆ carrier_id

int32_t tpcc::Order::carrier_id

◆ d_id

int32_t tpcc::Order::d_id

◆ entry_d

std::array<char, DATETIME_SIZE + 1> tpcc::Order::entry_d = {0}

◆ id

int32_t tpcc::Order::id

◆ INITIAL_ALL_LOCAL

const int tpcc::Order::INITIAL_ALL_LOCAL = 1
static

◆ INITIAL_ORDERS_PER_DISTRICT

const int tpcc::Order::INITIAL_ORDERS_PER_DISTRICT = 3000
static

◆ MAX_CARRIER_ID

const int tpcc::Order::MAX_CARRIER_ID = 10
static

◆ MAX_OL_CNT

const int tpcc::Order::MAX_OL_CNT = 15
static

◆ MAX_ORDER_ID

const int tpcc::Order::MAX_ORDER_ID = 10000000
static

◆ MIN_CARRIER_ID

const int tpcc::Order::MIN_CARRIER_ID = 1
static

◆ MIN_OL_CNT

const int tpcc::Order::MIN_OL_CNT = 5
static

◆ NULL_CARRIER_ID

const int tpcc::Order::NULL_CARRIER_ID = 0
static

◆ NULL_CARRIER_LOWER_BOUND

const int tpcc::Order::NULL_CARRIER_LOWER_BOUND = 2101
static

◆ ol_cnt

int32_t tpcc::Order::ol_cnt

◆ w_id

int32_t tpcc::Order::w_id

The documentation for this struct was generated from the following file: