0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Friends | List of all members
Hypertable::DataGenerator Class Reference

#include <DataGenerator.h>

Collaboration diagram for Hypertable::DataGenerator:
Collaboration graph
[legend]

Public Types

typedef DataGeneratorIterator iterator
 

Public Member Functions

 DataGenerator (PropertiesPtr &props, bool keys_only=false)
 
iterator begin ()
 
iterator end ()
 
int64_t get_max_bytes ()
 
int64_t get_max_keys ()
 

Protected Attributes

PropertiesPtr m_props
 
bool m_keys_only
 
int64_t m_max_bytes
 
int64_t m_max_keys
 
uint32_t m_seed
 
std::vector< RowComponentSpecm_row_component_specs
 
std::vector< ColumnSpecm_column_specs
 

Private Member Functions

int parse_order (const std::string &str)
 

Friends

class DataGeneratorIterator
 

Detailed Description

Definition at line 142 of file DataGenerator.h.

Member Typedef Documentation

Definition at line 145 of file DataGenerator.h.

Constructor & Destructor Documentation

DataGenerator::DataGenerator ( PropertiesPtr props,
bool  keys_only = false 
)

Definition at line 129 of file DataGenerator.cc.

Member Function Documentation

iterator Hypertable::DataGenerator::begin ( )
inline

Definition at line 150 of file DataGenerator.h.

iterator Hypertable::DataGenerator::end ( )
inline

Definition at line 151 of file DataGenerator.h.

int64_t Hypertable::DataGenerator::get_max_bytes ( )
inline

Definition at line 152 of file DataGenerator.h.

int64_t Hypertable::DataGenerator::get_max_keys ( )
inline

Definition at line 153 of file DataGenerator.h.

int DataGenerator::parse_order ( const std::string &  str)
private

Definition at line 326 of file DataGenerator.cc.

Friends And Related Function Documentation

friend class DataGeneratorIterator
friend

Definition at line 146 of file DataGenerator.h.

Member Data Documentation

std::vector<ColumnSpec> Hypertable::DataGenerator::m_column_specs
protected

Definition at line 162 of file DataGenerator.h.

bool Hypertable::DataGenerator::m_keys_only
protected

Definition at line 157 of file DataGenerator.h.

int64_t Hypertable::DataGenerator::m_max_bytes
protected

Definition at line 158 of file DataGenerator.h.

int64_t Hypertable::DataGenerator::m_max_keys
protected

Definition at line 159 of file DataGenerator.h.

PropertiesPtr Hypertable::DataGenerator::m_props
protected

Definition at line 156 of file DataGenerator.h.

std::vector<RowComponentSpec> Hypertable::DataGenerator::m_row_component_specs
protected

Definition at line 161 of file DataGenerator.h.

uint32_t Hypertable::DataGenerator::m_seed
protected

Definition at line 160 of file DataGenerator.h.


The documentation for this class was generated from the following files: