MySQL 9.5.0
Source Code Documentation
SecondaryEngineNrowsParameters Struct Reference

Type for signature generation and for retrieving nrows estimate from secondary engine for current AccessPath. More...

#include <handler.h>

Public Member Functions

 SecondaryEngineNrowsParameters (THD *thd, AccessPath *access_path, const JoinHypergraph *graph)
 
 SecondaryEngineNrowsParameters (THD *thd)
 

Public Attributes

THDthd
 The thread context. More...
 
AccessPathaccess_path
 The AccessPath to retrieve Nrows for. More...
 
const JoinHypergraphgraph
 Hypergraph for current query block. More...
 
OverflowBitset applied_predicates {}
 Predicates actually applied for AccessPath::REF and other parameterized types. More...
 
bool to_update_rows {true}
 if ap->nrows should be acually updated. More...
 
bool to_force_resign {false}
 if ap->signature generation should be forced. More...
 
size_t * extra_sig {nullptr}
 if nonnull, an additional signature should be combined with current AP. More...
 

Detailed Description

Type for signature generation and for retrieving nrows estimate from secondary engine for current AccessPath.

Constructor & Destructor Documentation

◆ SecondaryEngineNrowsParameters() [1/2]

SecondaryEngineNrowsParameters::SecondaryEngineNrowsParameters ( THD thd,
AccessPath access_path,
const JoinHypergraph graph 
)
inline

◆ SecondaryEngineNrowsParameters() [2/2]

SecondaryEngineNrowsParameters::SecondaryEngineNrowsParameters ( THD thd)
inlineexplicit

Member Data Documentation

◆ access_path

AccessPath* SecondaryEngineNrowsParameters::access_path

The AccessPath to retrieve Nrows for.

◆ applied_predicates

OverflowBitset SecondaryEngineNrowsParameters::applied_predicates {}

Predicates actually applied for AccessPath::REF and other parameterized types.

◆ extra_sig

size_t* SecondaryEngineNrowsParameters::extra_sig {nullptr}

if nonnull, an additional signature should be combined with current AP.

◆ graph

const JoinHypergraph* SecondaryEngineNrowsParameters::graph

Hypergraph for current query block.

◆ thd

THD* SecondaryEngineNrowsParameters::thd

The thread context.

◆ to_force_resign

bool SecondaryEngineNrowsParameters::to_force_resign {false}

if ap->signature generation should be forced.

Default behavior is to generate if ap->signature != 0.

◆ to_update_rows

bool SecondaryEngineNrowsParameters::to_update_rows {true}

if ap->nrows should be acually updated.


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