OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MapDProgramOptions Class Reference

#include <MapDProgramOptions.h>

+ Inheritance diagram for MapDProgramOptions:
+ Collaboration diagram for MapDProgramOptions:

Public Member Functions

 MapDProgramOptions ()
 
bool parse_command_line (int argc, char **argv, int &return_code)
 

Public Attributes

int http_port = 6278
 
size_t reserved_gpu_mem = 1 << 27
 
std::string base_path
 
std::string config_file = {"mapd.conf"}
 
std::string cluster_file = {"cluster.conf"}
 
bool cpu_only = false
 
bool flush_log = true
 
bool verbose_logging = false
 
bool jit_debug = false
 
bool allow_multifrag = true
 
bool read_only = false
 
bool allow_loop_joins = false
 
bool enable_legacy_syntax = true
 
AuthMetadata authMetadata
 
MapDParameters mapd_parameters
 
bool enable_rendering = false
 
bool enable_watchdog = true
 
bool enable_dynamic_watchdog = false
 
unsigned dynamic_watchdog_time_limit = 10000
 
size_t render_mem_bytes = 500000000
 
size_t render_poly_cache_bytes = 300000000
 
int num_gpus = -1
 
int start_gpu = 0
 
size_t num_reader_threads = 0
 
std::string db_query_file = {""}
 
int idle_session_duration
 
int max_session_duration
 
std::string udf_file_name = {""}
 
std::vector< LeafHostInfodb_leaves
 
std::vector< LeafHostInfostring_leaves
 

Private Member Functions

void fillOptions (boost::program_options::options_description &desc)
 
void fillAdvancedOptions (boost::program_options::options_description &desc_adv)
 

Private Attributes

boost::program_options::variables_map vm
 

Detailed Description

Definition at line 30 of file MapDProgramOptions.h.

Constructor & Destructor Documentation

MapDProgramOptions::MapDProgramOptions ( )

Member Function Documentation

void MapDProgramOptions::fillAdvancedOptions ( boost::program_options::options_description &  desc_adv)
private
void MapDProgramOptions::fillOptions ( boost::program_options::options_description &  desc)
private
bool MapDProgramOptions::parse_command_line ( int  argc,
char **  argv,
int &  return_code 
)

Member Data Documentation

bool MapDProgramOptions::allow_loop_joins = false

Definition at line 45 of file MapDProgramOptions.h.

bool MapDProgramOptions::allow_multifrag = true

Definition at line 43 of file MapDProgramOptions.h.

AuthMetadata MapDProgramOptions::authMetadata

Definition at line 47 of file MapDProgramOptions.h.

std::string MapDProgramOptions::base_path

Definition at line 36 of file MapDProgramOptions.h.

std::string MapDProgramOptions::cluster_file = {"cluster.conf"}

Definition at line 38 of file MapDProgramOptions.h.

std::string MapDProgramOptions::config_file = {"mapd.conf"}

Definition at line 37 of file MapDProgramOptions.h.

bool MapDProgramOptions::cpu_only = false

Definition at line 39 of file MapDProgramOptions.h.

std::vector<LeafHostInfo> MapDProgramOptions::db_leaves

Definition at line 76 of file MapDProgramOptions.h.

std::string MapDProgramOptions::db_query_file = {""}

Definition at line 61 of file MapDProgramOptions.h.

unsigned MapDProgramOptions::dynamic_watchdog_time_limit = 10000

Definition at line 53 of file MapDProgramOptions.h.

bool MapDProgramOptions::enable_dynamic_watchdog = false

Definition at line 52 of file MapDProgramOptions.h.

bool MapDProgramOptions::enable_legacy_syntax = true

Definition at line 46 of file MapDProgramOptions.h.

bool MapDProgramOptions::enable_rendering = false

Definition at line 50 of file MapDProgramOptions.h.

bool MapDProgramOptions::enable_watchdog = true

Definition at line 51 of file MapDProgramOptions.h.

bool MapDProgramOptions::flush_log = true

Definition at line 40 of file MapDProgramOptions.h.

int MapDProgramOptions::http_port = 6278

Definition at line 34 of file MapDProgramOptions.h.

int MapDProgramOptions::idle_session_duration
Initial value:

Definition at line 62 of file MapDProgramOptions.h.

bool MapDProgramOptions::jit_debug = false

Definition at line 42 of file MapDProgramOptions.h.

MapDParameters MapDProgramOptions::mapd_parameters

Definition at line 49 of file MapDProgramOptions.h.

int MapDProgramOptions::max_session_duration
Initial value:

Definition at line 64 of file MapDProgramOptions.h.

int MapDProgramOptions::num_gpus = -1

Definition at line 57 of file MapDProgramOptions.h.

size_t MapDProgramOptions::num_reader_threads = 0

Definition at line 60 of file MapDProgramOptions.h.

bool MapDProgramOptions::read_only = false

Definition at line 44 of file MapDProgramOptions.h.

size_t MapDProgramOptions::render_mem_bytes = 500000000

Definition at line 55 of file MapDProgramOptions.h.

size_t MapDProgramOptions::render_poly_cache_bytes = 300000000

Definition at line 56 of file MapDProgramOptions.h.

size_t MapDProgramOptions::reserved_gpu_mem = 1 << 27

Definition at line 35 of file MapDProgramOptions.h.

int MapDProgramOptions::start_gpu = 0

Definition at line 59 of file MapDProgramOptions.h.

std::vector<LeafHostInfo> MapDProgramOptions::string_leaves

Definition at line 77 of file MapDProgramOptions.h.

std::string MapDProgramOptions::udf_file_name = {""}

Definition at line 67 of file MapDProgramOptions.h.

bool MapDProgramOptions::verbose_logging = false

Definition at line 41 of file MapDProgramOptions.h.

boost::program_options::variables_map MapDProgramOptions::vm
private

Definition at line 73 of file MapDProgramOptions.h.


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