Class ExplainedQueryHint

class ExplainedQueryHint

Public Functions

ExplainedQueryHint(QueryHint hint, bool global_hint, bool is_marker, bool has_kv_type_options)
ExplainedQueryHint(QueryHint hint, bool global_hint, bool is_marker, bool has_kv_type_options, std::vector<std::string> &list_options)
ExplainedQueryHint(QueryHint hint, bool global_hint, bool is_marker, bool has_kv_type_options, std::unordered_map<std::string, std::string> &kv_options)
void setListOptions(std::vector<std::string> &list_options)
void setKVOptions(std::unordered_map<std::string, std::string> &kv_options)
void setInheritPaths(std::vector<int> &interit_paths)
const std::vector<std::string> &getListOptions()
const std::vector<int> &getInteritPath()
const std::unordered_map<std::string, std::string> &getKVOptions()
const QueryHint getHint() const
bool isGlobalHint() const
bool hasOptions() const
bool hasKvOptions() const

Private Members

QueryHint hint_
bool global_hint_
bool is_marker_
bool has_kv_type_options_
std::vector<int> inherit_paths_
std::vector<std::string> list_options_
std::unordered_map<std::string, std::string> kv_options_