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

#include <tpcc_tables.h>

Classes

struct  Key
 

Public Member Functions

Key get_key ()
 

Public Attributes

int32_t o_id
 
int32_t d_id
 
int32_t w_id
 
int32_t number
 
int32_t i_id
 
int32_t supply_w_id
 
int32_t quantity
 
float amount
 
std::array< char, DATETIME_SIZE+1 > delivery_d = {0}
 
std::array< char, Stock::DIST+1 > dist_info = {0}
 

Static Public Attributes

static const int MIN_I_ID = 1
 
static const int MAX_I_ID = 100
 
static const int INITIAL_QUANTITY = 5
 
static constexpr float MIN_AMOUNT = 0.01f
 
static constexpr float MAX_AMOUNT = 9999.99f
 
static const int REMOTE_PROBABILITY_MILLIS = 10
 

Member Function Documentation

◆ get_key()

Key tpcc::OrderLine::get_key ( )
inline

Member Data Documentation

◆ amount

float tpcc::OrderLine::amount

◆ d_id

int32_t tpcc::OrderLine::d_id

◆ delivery_d

std::array<char, DATETIME_SIZE + 1> tpcc::OrderLine::delivery_d = {0}

◆ dist_info

std::array<char, Stock::DIST + 1> tpcc::OrderLine::dist_info = {0}

◆ i_id

int32_t tpcc::OrderLine::i_id

◆ INITIAL_QUANTITY

const int tpcc::OrderLine::INITIAL_QUANTITY = 5
static

◆ MAX_AMOUNT

constexpr float tpcc::OrderLine::MAX_AMOUNT = 9999.99f
staticconstexpr

◆ MAX_I_ID

const int tpcc::OrderLine::MAX_I_ID = 100
static

◆ MIN_AMOUNT

constexpr float tpcc::OrderLine::MIN_AMOUNT = 0.01f
staticconstexpr

◆ MIN_I_ID

const int tpcc::OrderLine::MIN_I_ID = 1
static

◆ number

int32_t tpcc::OrderLine::number

◆ o_id

int32_t tpcc::OrderLine::o_id

◆ quantity

int32_t tpcc::OrderLine::quantity

◆ REMOTE_PROBABILITY_MILLIS

const int tpcc::OrderLine::REMOTE_PROBABILITY_MILLIS = 10
static

◆ supply_w_id

int32_t tpcc::OrderLine::supply_w_id

◆ w_id

int32_t tpcc::OrderLine::w_id

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