MySQL 8.0.39
Source Code Documentation
Opt_hints_map Class Reference

Opt_hints_map contains information about hint state(specified or not, hint value). More...

#include <opt_hints.h>

Public Member Functions

bool is_specified (opt_hints_enum type_arg) const
 Check if hint is specified. More...
 
void set_switch (opt_hints_enum type_arg, bool switch_state_arg)
 Set switch value and set hint into specified state. More...
 
bool switch_on (opt_hints_enum type_arg) const
 Get switch value. More...
 

Private Attributes

Bitmap< 64 > hints
 
Bitmap< 64 > hints_specified
 

Detailed Description

Opt_hints_map contains information about hint state(specified or not, hint value).

Member Function Documentation

◆ is_specified()

bool Opt_hints_map::is_specified ( opt_hints_enum  type_arg) const
inline

Check if hint is specified.

Parameters
type_arghint type
Returns
true if hint is specified

◆ set_switch()

void Opt_hints_map::set_switch ( opt_hints_enum  type_arg,
bool  switch_state_arg 
)
inline

Set switch value and set hint into specified state.

Parameters
type_arghint type
switch_state_argswitch value

◆ switch_on()

bool Opt_hints_map::switch_on ( opt_hints_enum  type_arg) const
inline

Get switch value.

Parameters
type_arghint type
Returns
switch value.

Member Data Documentation

◆ hints

Bitmap<64> Opt_hints_map::hints
private

◆ hints_specified

Bitmap<64> Opt_hints_map::hints_specified
private

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