MySQL 9.1.0
Source Code Documentation
Glob_index_key_hint Class Reference

Auxiliary class for INDEX hint. More...

#include <opt_hints.h>

Inheritance diagram for Glob_index_key_hint:
[legend]

Public Member Functions

bool is_hint_conflicting (Opt_hints_table *table_hint, Opt_hints_key *key_hint) override
 Function checks if INDEX hint is conflicting with already specified JOIN_INDEX, GROUP_INDEX, ORDER_INDEX hints. More...
 
- Public Member Functions inherited from Compound_key_hint
 Compound_key_hint ()
 
virtual ~Compound_key_hint ()=default
 
void set_pt_hint (PT_key_level_hint *pt_hint_arg)
 
PT_key_level_hintget_pt_hint ()
 
void set_resolved (bool arg)
 
bool is_resolved ()
 
void set_key_map (uint i)
 
bool is_set_key_map (uint i)
 
bool is_key_map_clear_all ()
 
Key_mapget_key_map ()
 

Detailed Description

Auxiliary class for INDEX hint.

Member Function Documentation

◆ is_hint_conflicting()

bool Glob_index_key_hint::is_hint_conflicting ( Opt_hints_table table_hint,
Opt_hints_key key_hint 
)
overridevirtual

Function checks if INDEX hint is conflicting with already specified JOIN_INDEX, GROUP_INDEX, ORDER_INDEX hints.

Parameters
table_hintpointer to table hint
key_hintpointer to key hint
Returns
false if no conflict, true otherwise.

Reimplemented from Compound_key_hint.


The documentation for this class was generated from the following files: