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

A pair of bitsets representing the fields for which an index access applies predicates, and for which of those fields the predicates are applied fully. More...

Public Member Functions

 AbsorbedFields (OverflowBitset applied, OverflowBitset subsumed)
 
OverflowBitset applied () const
 The fields whose predicates are applied by an index access. More...
 
OverflowBitset subsumed () const
 The fields whose predicates are fully applied by an index access. More...
 

Private Attributes

OverflowBitset m_applied
 
OverflowBitset m_subsumed
 

Detailed Description

A pair of bitsets representing the fields for which an index access applies predicates, and for which of those fields the predicates are applied fully.

The bits map to the field with the same index in the TABLE::field array.

Constructor & Destructor Documentation

◆ AbsorbedFields()

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

Member Function Documentation

◆ applied()

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

The fields whose predicates are applied by an index access.

◆ subsumed()

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

The fields whose predicates are fully applied by an index access.

Those predicates do not have to be applied again in a FILTER access path. This is a subset of the fields in the "applied" bitset.

Member Data Documentation

◆ m_applied

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

◆ m_subsumed

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

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