MySQL 8.4.3
Source Code Documentation
Ft_hints Class Reference

Wrapper for struct ft_hints. More...

#include <handler.h>

Public Member Functions

 Ft_hints (uint ft_flags)
 
void set_hint_op (enum ft_operation type, double value)
 Set comparison operation type and and value for master MATCH function. More...
 
void set_hint_flag (uint ft_flag)
 Set Ft_hints flag. More...
 
void set_hint_limit (ha_rows ft_limit)
 Set Ft_hints limit. More...
 
ha_rows get_limit () const
 Get Ft_hints limit. More...
 
double get_op_value () const
 Get Ft_hints operation value. More...
 
enum ft_operation get_op_type () const
 Get Ft_hints operation type. More...
 
uint get_flags () const
 Get Ft_hints flags. More...
 
struct ft_hintsget_hints ()
 Get ft_hints struct. More...
 

Private Attributes

struct ft_hints hints
 

Detailed Description

Wrapper for struct ft_hints.

Constructor & Destructor Documentation

◆ Ft_hints()

Ft_hints::Ft_hints ( uint  ft_flags)
inlineexplicit

Member Function Documentation

◆ get_flags()

uint Ft_hints::get_flags ( ) const
inline

Get Ft_hints flags.

Returns
Ft_hints flags

◆ get_hints()

struct ft_hints * Ft_hints::get_hints ( )
inline

Get ft_hints struct.

Returns
pointer to ft_hints struct

◆ get_limit()

ha_rows Ft_hints::get_limit ( ) const
inline

Get Ft_hints limit.

Returns
Ft_hints limit

◆ get_op_type()

enum ft_operation Ft_hints::get_op_type ( ) const
inline

Get Ft_hints operation type.

Returns
operation type

◆ get_op_value()

double Ft_hints::get_op_value ( ) const
inline

Get Ft_hints operation value.

Returns
operation value

◆ set_hint_flag()

void Ft_hints::set_hint_flag ( uint  ft_flag)
inline

Set Ft_hints flag.

Parameters
ft_flagFt_hints flag

◆ set_hint_limit()

void Ft_hints::set_hint_limit ( ha_rows  ft_limit)
inline

Set Ft_hints limit.

Parameters
ft_limitlimit

◆ set_hint_op()

void Ft_hints::set_hint_op ( enum ft_operation  type,
double  value 
)
inline

Set comparison operation type and and value for master MATCH function.

Parameters
typecomparison operation type
valuecomparison operation value

Member Data Documentation

◆ hints

struct ft_hints Ft_hints::hints
private

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