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

#include <tpcc_tables.h>

Classes

struct  Key
 

Public Member Functions

Key get_key ()
 

Public Attributes

int32_t i_id
 
int32_t w_id
 
int32_t quantity
 
int32_t ytd
 
int32_t order_cnt
 
int32_t remote_cnt
 
std::array< std::array< char, DIST+1 >, District::NUM_PER_WAREHOUSEdist
 
std::array< char, MAX_DATA+1 > data = {0}
 

Static Public Attributes

static const int MIN_QUANTITY = 10
 
static const int MAX_QUANTITY = 100
 
static const int DIST = 24
 
static const int MIN_DATA = 26
 
static const int MAX_DATA = 50
 
static const int NUM_STOCK_PER_WAREHOUSE = 100000
 

Member Function Documentation

◆ get_key()

Key tpcc::Stock::get_key ( )
inline

Member Data Documentation

◆ data

std::array<char, MAX_DATA + 1> tpcc::Stock::data = {0}

◆ DIST

const int tpcc::Stock::DIST = 24
static

◆ dist

std::array<std::array<char, DIST + 1>, District::NUM_PER_WAREHOUSE> tpcc::Stock::dist
Initial value:
=
{}

◆ i_id

int32_t tpcc::Stock::i_id

◆ MAX_DATA

const int tpcc::Stock::MAX_DATA = 50
static

◆ MAX_QUANTITY

const int tpcc::Stock::MAX_QUANTITY = 100
static

◆ MIN_DATA

const int tpcc::Stock::MIN_DATA = 26
static

◆ MIN_QUANTITY

const int tpcc::Stock::MIN_QUANTITY = 10
static

◆ NUM_STOCK_PER_WAREHOUSE

const int tpcc::Stock::NUM_STOCK_PER_WAREHOUSE = 100000
static

◆ order_cnt

int32_t tpcc::Stock::order_cnt

◆ quantity

int32_t tpcc::Stock::quantity

◆ remote_cnt

int32_t tpcc::Stock::remote_cnt

◆ w_id

int32_t tpcc::Stock::w_id

◆ ytd

int32_t tpcc::Stock::ytd

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