Class MapDProgramOptions

class MapDProgramOptions : public options_description

Public Functions

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

Public Members

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 = kMinsPerHour
int max_session_duration = kMinsPerMonth
std::string udf_file_name = {""}
std::vector<LeafHostInfo> db_leaves
std::vector<LeafHostInfo> string_leaves

Private Functions

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

Private Members

boost::program_options::variables_map vm