OmniSciDB
c1a53651b2
|
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <filesystem>
#include <iostream>
#include <string>
#include "CommandLineOptions.h"
#include "ImportExport/ForeignDataImporter.h"
#include "LeafHostInfo.h"
#include "MapDRelease.h"
#include "MigrationMgr/MigrationMgr.h"
#include "QueryEngine/GroupByAndAggregate.h"
#include "Shared/Compressor.h"
#include "Shared/SysDefinitions.h"
#include "Shared/enable_assign_render_groups.h"
#include "StringDictionary/StringDictionary.h"
#include "Utils/DdlUtils.h"
Go to the source code of this file.
Namespaces | |
Catalog_Namespace | |
anonymous_namespace{CommandLineOptions.cpp} | |
Functions | |
std::stringstream | anonymous_namespace{CommandLineOptions.cpp}::sanitize_config_file (std::ifstream &in) |
bool | anonymous_namespace{CommandLineOptions.cpp}::trim_and_check_file_exists (std::string &filename, const std::string desc) |
void | anonymous_namespace{CommandLineOptions.cpp}::addOptionalFileToBlacklist (std::string &filename) |
SystemParameters::RuntimeUdfRegistrationPolicy | construct_runtime_udf_registration_policy (const bool enable_runtime_udfs, const bool enable_udf_registration_for_all_users) |
Variables | |
std::string | cluster_command_line_arg |
bool | g_enable_thrift_logs {false} |
bool | g_use_table_device_offset |
float | g_fraction_code_cache_to_evict |
bool | g_cache_string_hash |
bool | g_enable_idp_temporary_users |
bool | g_enable_left_join_filter_hoisting |
int64_t | g_large_ndv_threshold |
size_t | g_large_ndv_multiplier |
int64_t | g_bitmap_memory_limit |
bool | g_enable_seconds_refresh |
size_t | g_approx_quantile_buffer |
size_t | g_approx_quantile_centroids |
size_t | g_parallel_top_min |
size_t | g_parallel_top_max |
size_t | g_streaming_topn_max |
size_t | g_estimator_failure_max_groupby_size |
bool | g_columnar_large_projections |
size_t | g_columnar_large_projections_threshold |
bool | g_enable_system_tables |
bool | g_allow_system_dashboard_update |
bool | g_enable_logs_system_tables |
size_t | g_logs_system_tables_max_files_count |
bool | g_uniform_request_ids_per_thrift_call |
unsigned | connect_timeout {20000} |
unsigned | recv_timeout {300000} |
unsigned | send_timeout {300000} |
bool | with_keepalive {false} |
bool | g_enable_http_binary_server {true} |
SystemParameters::RuntimeUdfRegistrationPolicy construct_runtime_udf_registration_policy | ( | const bool | enable_runtime_udfs, |
const bool | enable_udf_registration_for_all_users | ||
) |
Definition at line 1354 of file CommandLineOptions.cpp.
References SystemParameters::ALLOWED_ALL_USERS, SystemParameters::ALLOWED_SUPERUSERS_ONLY, and SystemParameters::DISALLOWED.
Referenced by CommandLineOptions::parse_command_line().
std::string cluster_command_line_arg |
unsigned connect_timeout {20000} |
Definition at line 80 of file CommandLineOptions.cpp.
bool g_allow_system_dashboard_update |
Definition at line 122 of file DBHandler.cpp.
Referenced by DBHandler::create_dashboard(), DBHandler::delete_dashboards(), and DBHandler::replace_dashboard().
size_t g_approx_quantile_buffer |
Definition at line 159 of file Execute.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), and RowSetMemoryOwner::nullTDigest().
size_t g_approx_quantile_centroids |
Definition at line 160 of file Execute.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), and RowSetMemoryOwner::nullTDigest().
int64_t g_bitmap_memory_limit |
Definition at line 28 of file QueryMemoryInitializer.cpp.
bool g_cache_string_hash |
Definition at line 52 of file StringDictionary.cpp.
bool g_columnar_large_projections |
Definition at line 57 of file RelAlgExecutor.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), and anonymous_namespace{RelAlgExecutor.cpp}::should_output_columnar().
size_t g_columnar_large_projections_threshold |
Definition at line 58 of file RelAlgExecutor.cpp.
Referenced by RelAlgExecutor::executeWorkUnit(), CommandLineOptions::fillAdvancedOptions(), and anonymous_namespace{RelAlgExecutor.cpp}::should_output_columnar().
bool g_enable_http_binary_server {true} |
Definition at line 84 of file CommandLineOptions.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), and startHeavyDBServer().
bool g_enable_idp_temporary_users |
Definition at line 63 of file SysCatalog.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), and Catalog_Namespace::SysCatalog::syncUserWithRemoteProvider().
bool g_enable_left_join_filter_hoisting |
Definition at line 100 of file Execute.cpp.
Referenced by Executor::buildHoistLeftHandSideFiltersCb(), and CommandLineOptions::fillAdvancedOptions().
bool g_enable_logs_system_tables |
Definition at line 100 of file Catalog.cpp.
Referenced by CommandLineOptions::fillOptions(), Catalog_Namespace::Catalog::initializeSystemServers(), Catalog_Namespace::Catalog::initializeSystemTables(), and CommandLineOptions::validate().
bool g_enable_seconds_refresh |
Definition at line 26 of file ForeignTable.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions().
bool g_enable_system_tables |
Definition at line 64 of file SysCatalog.cpp.
bool g_enable_thrift_logs {false} |
Definition at line 48 of file CommandLineOptions.cpp.
Referenced by CommandLineOptions::fillOptions(), EmbeddedDatabase::DBEngineImpl::init(), and main().
size_t g_estimator_failure_max_groupby_size |
Definition at line 56 of file RelAlgExecutor.cpp.
Referenced by RelAlgExecutor::executeWorkUnit(), and CommandLineOptions::fillAdvancedOptions().
float g_fraction_code_cache_to_evict |
Definition at line 79 of file NativeCodegen.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions().
size_t g_large_ndv_multiplier |
Definition at line 23 of file CardinalityEstimator.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), and Analyzer::LargeNDVEstimator::getBufferSize().
int64_t g_large_ndv_threshold |
Definition at line 22 of file CardinalityEstimator.cpp.
Referenced by RelAlgExecutionUnit::createNdvExecutionUnit(), and CommandLineOptions::fillAdvancedOptions().
size_t g_logs_system_tables_max_files_count |
Definition at line 19 of file InternalLogsDataWrapper.cpp.
Referenced by CommandLineOptions::fillOptions(), foreign_storage::InternalLogsDataWrapper::getMaxFileCount(), and CommandLineOptions::validate().
size_t g_parallel_top_max |
Definition at line 50 of file ResultSet.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), CommandLineOptions::parse_command_line(), and ResultSet::sort().
size_t g_parallel_top_min |
Definition at line 49 of file ResultSet.cpp.
Referenced by CommandLineOptions::fillAdvancedOptions(), CommandLineOptions::parse_command_line(), and ResultSet::sort().
size_t g_streaming_topn_max |
Definition at line 51 of file ResultSet.cpp.
bool g_uniform_request_ids_per_thrift_call |
Definition at line 123 of file DBHandler.cpp.
Referenced by CommandLineOptions::fillOptions().
bool g_use_table_device_offset |
Definition at line 45 of file InsertOrderFragmenter.cpp.
Referenced by Fragmenter_Namespace::anonymous_namespace{InsertOrderFragmenter.cpp}::compute_device_for_fragment(), and CommandLineOptions::fillAdvancedOptions().
unsigned recv_timeout {300000} |
Definition at line 81 of file CommandLineOptions.cpp.
unsigned send_timeout {300000} |
Definition at line 82 of file CommandLineOptions.cpp.
bool with_keepalive {false} |
Definition at line 83 of file CommandLineOptions.cpp.