MySQL 9.4.0
Source Code Documentation
anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates Class Reference

A pair of bitsets representing the predicates applied by an index access, and which of the predicates are applied fully. More...

Public Member Functions

 AbsorbedPredicates ()=default
 
 AbsorbedPredicates (OverflowBitset applied, OverflowBitset subsumed)
 
OverflowBitset applied () const
 The predicates that are applied by an index access. More...
 
OverflowBitset subsumed () const
 The predicates that are fully applied by an index access, and which don't need to be checked again in a FILTER access path. More...
 

Private Attributes

OverflowBitset m_applied
 
OverflowBitset m_subsumed
 

Detailed Description

A pair of bitsets representing the predicates applied by an index access, and which of the predicates are applied fully.

The bits map to the predicate with the same index in JoinHypergraph::predicates.

Constructor & Destructor Documentation

◆ AbsorbedPredicates() [1/2]

anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates::AbsorbedPredicates ( )
default

◆ AbsorbedPredicates() [2/2]

anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates::AbsorbedPredicates ( OverflowBitset  applied,
OverflowBitset  subsumed 
)
inline

Member Function Documentation

◆ applied()

OverflowBitset anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates::applied ( ) const
inline

The predicates that are applied by an index access.

◆ subsumed()

OverflowBitset anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates::subsumed ( ) const
inline

The predicates that are fully applied by an index access, and which don't need to be checked again in a FILTER access path.

This is a subset of the predicates in the "applied" bitset.

Member Data Documentation

◆ m_applied

OverflowBitset anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates::m_applied
private

◆ m_subsumed

OverflowBitset anonymous_namespace{join_optimizer.cc}::AbsorbedPredicates::m_subsumed
private

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