Class CommandLineOptions

class CommandLineOptions

Public Functions

CommandLineOptions(char const *argv0, bool dist_v5_ = false)
void fillOptions()
void fillAdvancedOptions()
std::string getNodeIds()
std::vector<std::string> getNodeIdsArray()
boost::optional<int> parse_command_line(int argc, char const *const *argv, const bool should_init_logging = false)
void validate()
void validate_base_path()
void init_logging()

Public Members

int http_port = 6278
int http_binary_port = 6276
size_t reserved_gpu_mem = 384 * 1024 * 1024
std::string base_path
File_Namespace::DiskCacheConfig disk_cache_config
std::string cluster_file = {"cluster.conf"}
std::string cluster_topology_file = {"cluster_topology.conf"}
std::string license_path = {""}
std::string encryption_key_store_path = {}
bool verbose_logging = false
bool jit_debug = false
bool intel_jit_profile = false
bool allow_multifrag = true
bool read_only = false
bool allow_loop_joins = false
bool enable_legacy_syntax = true
bool log_user_origin = true
AuthMetadata authMetadata
SystemParameters system_parameters
bool enable_rendering = false
bool enable_auto_clear_render_mem = false
int render_oom_retry_threshold = 0
size_t render_mem_bytes = 1000000000
size_t max_concurrent_render_sessions = 500
bool render_compositor_use_last_gpu = true
bool renderer_use_ppll_polys = false
bool renderer_prefer_igpu = false
unsigned renderer_vulkan_timeout_ms = 60000
bool enable_runtime_udf = false
bool enable_watchdog = true
bool enable_dynamic_watchdog = false
bool enable_runtime_query_interrupt = true
bool enable_non_kernel_time_query_interrupt = true
bool use_estimator_result_cache = true
double running_query_interrupt_freq = 0.1
unsigned pending_query_interrupt_freq = 1000
unsigned dynamic_watchdog_time_limit = 10000
std::string disk_cache_level = ""
bool enable_data_recycler = true
bool use_hashtable_cache = true
size_t hashtable_cache_total_bytes = 4294967296
size_t max_cacheable_hashtable_size_bytes = 2147483648
size_t num_reader_threads = 0

Number of threads used when loading data

std::string db_query_file = {""}

path to file containing warmup queries list

bool exit_after_warmup = false

exit after warmup

int idle_session_duration = kMinsPerHour

Inactive session tolerance in mins (60 mins)

int max_session_duration = kMinsPerMonth

Maximum session life in mins (43,200 mins == 30 Days) (https://pages.nist.gov/800-63-3/sp800-63b.html#aal3reauth)

std::string udf_file_name = {""}
std::string udf_compiler_path = {""}
std::vector<std::string> udf_compiler_options
std::string allowed_import_paths = {}
std::string allowed_export_paths = {}
std::string compressor = std::string(BLOSC_LZ4HC_COMPNAME)
po::options_description help_desc
po::options_description developer_desc
logger::LogOptions log_options_
po::positional_options_description positional_options
std::vector<LeafHostInfo> db_leaves
std::vector<LeafHostInfo> string_leaves
po::variables_map vm
std::string clusterIds_arg
const bool dist_v5_

Public Static Attributes

const std::string nodeIds_token = {"node_id"}