MySQL 8.0.39
Source Code Documentation
Index_key_hint Class Reference

Auxiliary class for JOIN_INDEX, GROUP_INDEX, ORDER_INDEX hints. More...

#include <opt_hints.h>

Inheritance diagram for 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 JOIN_INDEX|GROUP_INDEX|ORDER_INDEX hint is conflicting with already specified INDEX hint. 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 JOIN_INDEX, GROUP_INDEX, ORDER_INDEX hints.

Member Function Documentation

◆ is_hint_conflicting()

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

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

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: