#include <rowid_ordered_retrieval_plan.h>
◆ ROR_intersect_plan() [1/2]
ROR_intersect_plan::ROR_intersect_plan |
( |
const RANGE_OPT_PARAM * |
param, |
|
|
size_t |
num_fields |
|
) |
| |
◆ ROR_intersect_plan() [2/2]
◆ add()
◆ get_scan_selectivity()
double ROR_intersect_plan::get_scan_selectivity |
( |
const ROR_SCAN_INFO * |
scan | ) |
const |
key values tuple, used to store both min_range.key and max_range.key. This function is only called for equality ranges; open ranges (e.g. "min_value < X < max_value") cannot be used for rowid ordered retrieval, so in this function we know that min_range.key == max_range.key
◆ num_scans()
size_t ROR_intersect_plan::num_scans |
( |
| ) |
const |
|
inline |
◆ operator=()
◆ m_covered_fields
Bitmap of fields covered by the scans in the plan.
◆ m_index_read_cost
Total cost for reading the indexes picked in the plan.
◆ m_index_records
ha_rows ROR_intersect_plan::m_index_records {0} |
|
private |
Number of rows to be read from indexes that are used for rowid ordered scans.
◆ m_is_covering
bool ROR_intersect_plan::m_is_covering {false} |
Whether this plan with the chosen rowid ordered scans is covering or not.
◆ m_out_rows
double ROR_intersect_plan::m_out_rows |
Output rows for this plan.
◆ m_param
Range optimizer parameter.
◆ m_ror_scans
Rowid ordered scans that are part of this plan.
◆ m_total_cost
Total cost for the plan - m_index_read_cost + disk_sweep_cost.
The documentation for this class was generated from the following files: