20 #include <boost/serialization/unordered_map.hpp>
21 #include <boost/serialization/vector.hpp>
24 namespace serialization {
26 template <
class Archive>
57 template <
class Archive>
62 split_free(ar, query_hint, version);
65 template <
class Archive>
72 template <
class Archive>
74 std::vector<int> inherit_paths;
75 std::vector<std::string> list_options;
76 std::unordered_map<std::string, std::string> kv_options;
85 template <
class Archive>
95 template <
class Archive>
102 bool has_kv_type_options;
106 ar >> has_kv_type_options;
bool table_reordering_off
bool isGlobalHint() const
void load(Archive &ar, ExplainedQueryHint &query_hint, const unsigned int version)
double bbox_intersect_keys_per_bin
const std::vector< int > & getInteritPath() const
const std::unordered_map< std::string, std::string > & getKVOptions() const
void save(Archive &ar, const ExplainedQueryHint &query_hint, const unsigned int version)
void setListOptions(std::vector< std::string > &list_options)
std::optional< bool > dynamic_watchdog
double cuda_grid_size_multiplier
std::vector< bool > registered_hint
void setKVOptions(std::unordered_map< std::string, std::string > &kv_options)
size_t max_join_hash_table_size
bool opt_cuda_grid_and_block_size
bool hasKvOptions() const
bool keep_table_function_result
double bbox_intersect_bucket_threshold
double ndv_groups_estimator_multiplier
size_t watchdog_max_projected_rows_per_device
std::optional< bool > watchdog
size_t preflight_count_query_threshold
void serialize(Archive &ar, RegisteredQueryHint &query_hint, const unsigned int version)
size_t bbox_intersect_max_size
bool force_baseline_hash_join
bool bbox_intersect_no_cache
std::optional< bool > use_loop_join
size_t loop_join_inner_table_max_num_rows
bool bbox_intersect_allow_gpu_build
size_t aggregate_tree_fanout
const QueryHint getHint() const
void save_construct_data(Archive &ar, const ExplainedQueryHint *query_hint, const unsigned int version)
void load_construct_data(Archive &ar, ExplainedQueryHint *query_hint, const unsigned int version)
const std::vector< std::string > & getListOptions() const
void setInheritPaths(std::vector< int > &interit_paths)
bool force_one_to_many_hash_join