OmniSciDB  f632821e96
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::MapDProgramOptions ( )

Member Function Documentation

◆ fillAdvancedOptions()

void MapDProgramOptions::fillAdvancedOptions ( boost::program_options::options_description &  desc_adv)
private

◆ fillOptions()

void MapDProgramOptions::fillOptions ( boost::program_options::options_description &  desc)
private

◆ parse_command_line()

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

Member Data Documentation

◆ allow_loop_joins

bool MapDProgramOptions::allow_loop_joins = false

Definition at line 45 of file MapDProgramOptions.h.

◆ allow_multifrag

bool MapDProgramOptions::allow_multifrag = true

Definition at line 43 of file MapDProgramOptions.h.

◆ authMetadata

AuthMetadata MapDProgramOptions::authMetadata

Definition at line 47 of file MapDProgramOptions.h.

◆ base_path

std::string MapDProgramOptions::base_path

Definition at line 36 of file MapDProgramOptions.h.

◆ cluster_file

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

Definition at line 38 of file MapDProgramOptions.h.

◆ config_file

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

Definition at line 37 of file MapDProgramOptions.h.

◆ cpu_only

bool MapDProgramOptions::cpu_only = false

Definition at line 39 of file MapDProgramOptions.h.

◆ db_leaves

std::vector<LeafHostInfo> MapDProgramOptions::db_leaves

Definition at line 76 of file MapDProgramOptions.h.

◆ db_query_file

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

Definition at line 61 of file MapDProgramOptions.h.

◆ dynamic_watchdog_time_limit

unsigned MapDProgramOptions::dynamic_watchdog_time_limit = 10000

Definition at line 53 of file MapDProgramOptions.h.

◆ enable_dynamic_watchdog

bool MapDProgramOptions::enable_dynamic_watchdog = false

Definition at line 52 of file MapDProgramOptions.h.

◆ enable_legacy_syntax

bool MapDProgramOptions::enable_legacy_syntax = true

Definition at line 46 of file MapDProgramOptions.h.

◆ enable_rendering

bool MapDProgramOptions::enable_rendering = false

Definition at line 50 of file MapDProgramOptions.h.

◆ enable_watchdog

bool MapDProgramOptions::enable_watchdog = true

Definition at line 51 of file MapDProgramOptions.h.

◆ flush_log

bool MapDProgramOptions::flush_log = true

Definition at line 40 of file MapDProgramOptions.h.

◆ http_port

int MapDProgramOptions::http_port = 6278

Definition at line 34 of file MapDProgramOptions.h.

◆ idle_session_duration

int MapDProgramOptions::idle_session_duration
Initial value:

Definition at line 62 of file MapDProgramOptions.h.

◆ jit_debug

bool MapDProgramOptions::jit_debug = false

Definition at line 42 of file MapDProgramOptions.h.

◆ mapd_parameters

MapDParameters MapDProgramOptions::mapd_parameters

Definition at line 49 of file MapDProgramOptions.h.

◆ max_session_duration

int MapDProgramOptions::max_session_duration
Initial value:

Definition at line 64 of file MapDProgramOptions.h.

◆ num_gpus

int MapDProgramOptions::num_gpus = -1

Definition at line 57 of file MapDProgramOptions.h.

◆ num_reader_threads

size_t MapDProgramOptions::num_reader_threads = 0

Definition at line 60 of file MapDProgramOptions.h.

◆ read_only

bool MapDProgramOptions::read_only = false

Definition at line 44 of file MapDProgramOptions.h.

◆ render_mem_bytes

size_t MapDProgramOptions::render_mem_bytes = 500000000

Definition at line 55 of file MapDProgramOptions.h.

◆ render_poly_cache_bytes

size_t MapDProgramOptions::render_poly_cache_bytes = 300000000

Definition at line 56 of file MapDProgramOptions.h.

◆ reserved_gpu_mem

size_t MapDProgramOptions::reserved_gpu_mem = 1 << 27

Definition at line 35 of file MapDProgramOptions.h.

◆ start_gpu

int MapDProgramOptions::start_gpu = 0

Definition at line 59 of file MapDProgramOptions.h.

◆ string_leaves

std::vector<LeafHostInfo> MapDProgramOptions::string_leaves

Definition at line 77 of file MapDProgramOptions.h.

◆ udf_file_name

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

Definition at line 67 of file MapDProgramOptions.h.

◆ verbose_logging

bool MapDProgramOptions::verbose_logging = false

Definition at line 41 of file MapDProgramOptions.h.

◆ vm

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: