| 
| string  | anonymous_namespace{join_optimizer.cc}::PrintAccessPath (THD *thd, AccessPath &path, const JoinHypergraph &graph, const char *description_for_trace) | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::PrintJoinOrder (const AccessPath *path, string *join_order) | 
|   | Used by optimizer trace to print join order of join paths.  More...
  | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::CreateMaterializationPath (THD *thd, const JoinHypergraph &graph, JOIN *join, AccessPath *path, TABLE *temp_table, Temp_table_param *temp_table_param, bool copy_items, double *distinct_rows, MaterializePathParameters::DedupType dedup_reason) | 
|   | Sets up an access path for materializing the results returned from a path in a temporary table.  More...
  | 
|   | 
| int  | anonymous_namespace{join_optimizer.cc}::WasPushedDownToRef (Item *condition, const KeypartForRef *keyparts, unsigned num_keyparts) | 
|   | 
| SecondaryEngineFlags  | anonymous_namespace{join_optimizer.cc}::EngineFlags (const THD *thd) | 
|   | Lists the current secondary engine flags in use.  More...
  | 
|   | 
| secondary_engine_modify_view_ap_cost_t  | anonymous_namespace{join_optimizer.cc}::SecondaryEngineCostHook (THD *thd) | 
|   | Gets the secondary storage engine cost modification function, if any.  More...
  | 
|   | 
| secondary_engine_check_optimizer_request_t  | anonymous_namespace{join_optimizer.cc}::SecondaryEngineStateCheckHook (const THD *thd) | 
|   | Gets the secondary storage engine hypergraph state hook function, if any.  More...
  | 
|   | 
| Item_func_match *  | anonymous_namespace{join_optimizer.cc}::GetSargableFullTextPredicate (const Predicate &predicate) | 
|   | Returns the MATCH function of a predicate that can be pushed down to a full-text index.  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsDeleteStatement (const THD *thd) | 
|   | Is the current statement a DELETE statement?  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsUpdateStatement (const THD *thd) | 
|   | Is the current statement a DELETE statement?  More...
  | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::SetNumOutputRowsAfterFilter (AccessPath *path, double output_rows) | 
|   | Set the number of output rows after filter for an access path to a new value.  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::CheckKilledOrError (THD *thd) | 
|   | Check if the statement is killed or an error has been raised.  More...
  | 
|   | 
| AbsorbedPredicates  | anonymous_namespace{join_optimizer.cc}::NoAppliedPredicates (MEM_ROOT *mem_root, size_t size) | 
|   | Returns bitsets representing that there is no applied predicate.  More...
  | 
|   | 
| AbsorbedPredicates  | anonymous_namespace{join_optimizer.cc}::SingleAppliedPredicate (MEM_ROOT *mem_root, int predicate_idx, bool subsumed, size_t size) | 
|   | Returns bitsets representing a single applied predicate, which is possibly also subsumed.  More...
  | 
|   | 
| AbsorbedFields  | anonymous_namespace{join_optimizer.cc}::FindAbsorbedFieldsForRangeScan (THD *thd, const TABLE &table, const KEY &key, unsigned used_key_parts, unsigned num_exact_key_parts) | 
|   | Find the set of fields that are part of the used prefix of a given key ("applied fields"), and the subset for which the ranges can be applied fully ("subsumed fields").  More...
  | 
|   | 
| AbsorbedPredicates  | anonymous_namespace{join_optimizer.cc}::FindAbsorbedPredicatesForRangeScan (THD *thd, AbsorbedFields fields, AbsorbedPredicates tree_predicates, const JoinHypergraph &graph) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::CollectPossibleRangeScans (THD *thd, SEL_TREE *tree, RANGE_OPT_PARAM *param, AbsorbedPredicates tree_predicates, const JoinHypergraph &graph, Mem_root_array< PossibleRangeScan > *possible_scans) | 
|   | 
| ha_rows  | anonymous_namespace{join_optimizer.cc}::EstimateRowsFromIndexMerge (THD *thd, const SEL_IMERGE *imerge, RANGE_OPT_PARAM *param) | 
|   | 
| double  | anonymous_namespace{join_optimizer.cc}::EstimateOutputRowsFromRangeTree (THD *thd, RANGE_OPT_PARAM ¶m, ha_rows total_rows, const Mem_root_array< PossibleRangeScan > &possible_scans, const Mem_root_array< PossibleIndexMerge > &possible_imerges, const JoinHypergraph &graph, OverflowBitset predicates) | 
|   | Based on estimates for all the different range scans (which cover different but potentially overlapping combinations of predicates), try to find an estimate for the number of rows scanning the given table, with all predicates applied.  More...
  | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::FindCheapestIndexRangeScan (THD *thd, SEL_TREE *tree, RANGE_OPT_PARAM *param, bool prefer_clustered_primary_key_scan, bool *inexact, bool need_rowid_ordered_rows) | 
|   | From a collection of index scans, find the single cheapest one and generate an AccessPath for it.  More...
  | 
|   | 
| AbsorbedFields  | anonymous_namespace{join_optimizer.cc}::FindAbsorbedFieldsForSkipScan (THD *thd, const TABLE &table, const KEY &key, const SEL_TREE &tree, const IndexSkipScanParameters ¶m) | 
|   | Find the set of fields for which the given skip scan applies predicates, and the subset of fields for which predicates can be subsumed.  More...
  | 
|   | 
| AbsorbedPredicates  | anonymous_namespace{join_optimizer.cc}::UpdateAbsorbedPredicates (const uint idx, const Mem_root_array< PossibleRORScan > &possible_ror_scans, const RANGE_OPT_PARAM *param, AbsorbedPredicates predicates) | 
|   | 
| int  | anonymous_namespace{join_optimizer.cc}::GetRowIdOrdering (const TABLE *table, const LogicalOrderings *orderings, const Mem_root_array< ActiveIndexInfo > *active_indexes) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::ContainsSubqueries (Item *item_arg) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::HasConstantEqualityForField (const Mem_root_array< SargablePredicate > &sargable_predicates, const Field *field) | 
|   | Do we have a sargable predicate which checks if "field" is equal to a constant?  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsSubsumableFullTextPredicate (Item_func *condition) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsLimitHintPushableToFullTextSearch (const Item_func_match *match, const JoinHypergraph &graph, uint64_t fulltext_predicates) | 
|   | 
| std::optional< double >  | anonymous_namespace{join_optimizer.cc}::GetTableAfterFiltersCardinalityFromHypergraph (int node_idx, OverflowBitset applied_predicates, JoinHypergraph *graph) | 
|   | Attempt to retrieve the estimated cardinality for the given base table node (after filters have been applied) from the Hypergraph.  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::LateralDependenciesAreSatisfied (int node_idx, NodeMap tables, const JoinHypergraph &graph) | 
|   | Checks if the table given by "node_idx" has all its lateral dependencies satisfied by the set of tables given by "tables".  More...
  | 
|   | 
| NodeMap  | anonymous_namespace{join_optimizer.cc}::FindReachableTablesFrom (NodeMap tables, const JoinHypergraph &graph) | 
|   | Find the set of tables we can join directly against, given that we have the given set of tables on one of the sides (effectively the same concept as DPhyp's “neighborhood”).  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::CanResolveMoreParameterTables (NodeMap outer, NodeMap inner, NodeMap outer_parameters, NodeMap inner_parameters, NodeMap outer_reachable, NodeMap inner_reachable) | 
|   | Is it possible to resolve more parameter tables before performing a nested loop join between "outer" and "inner", or will the join have to be performed first?  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::DisallowParameterizedJoinPath (AccessPath *left_path, AccessPath *right_path, NodeMap left, NodeMap right, NodeMap left_reachable, NodeMap right_reachable, bool is_reorderable) | 
|   | Decide whether joining the two given paths would create a disallowed parameterized path.  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsEmptyJoin (const RelationalExpression &expr, bool left_is_empty, bool right_is_empty) | 
|   | Checks if the result of a join is empty, given that it is known that one or both of the join legs always produces an empty result.  More...
  | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::MoveDegenerateJoinConditionToFilter (THD *thd, JoinHypergraph &graph, Query_block *query_block, const JoinPredicate **edge, AccessPath **right_path) | 
|   | If the ON clause of a left join only references tables on the right side of the join, pushing the condition into the right side is a valid thing to do.  More...
  | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::DeduplicateForSemijoin (THD *thd, JoinHypergraph &graph, AccessPath *path, std::span< Item * > semijoin_group, RelationalExpression *expr) | 
|   | Build an access path that deduplicates its input on a certain grouping.  More...
  | 
|   | 
| int64_t  | anonymous_namespace{join_optimizer.cc}::GetJoinRowWidth (const AccessPath *path) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsConstantSingleRowPath (const AccessPath &path) | 
|   | Check if an access path returns at most one row, and it's constant throughout the query.  More...
  | 
|   | 
| uint32_t  | anonymous_namespace{join_optimizer.cc}::AddFlag (uint32_t flags, FuzzyComparisonResult flag) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::HasFlag (uint32_t flags, FuzzyComparisonResult flag) | 
|   | 
| PathComparisonResult  | CompareAccessPaths (const LogicalOrderings &orderings, const AccessPath &a, const AccessPath &b, OrderingSet obsolete_orderings, bool need_rowid, bool use_first_row_cost) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsMaterializationPath (const AccessPath *path) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsAccessPathRefType (AccessPath *path) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::ArePathsStatsExchangeIneligible (AccessPath *path, AccessPath *other_path) | 
|   | 
| AccessPath  | anonymous_namespace{join_optimizer.cc}::MakeSortPathWithoutFilesort (THD *thd, const JoinHypergraph &graph, AccessPath *child, ORDER *order, int ordering_state) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::CheckSupportedQuery (THD *thd) | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::CreateMaterializationOrStreamingPath (THD *thd, const JoinHypergraph &graph, JOIN *join, AccessPath *path, bool need_rowid, bool copy_items) | 
|   | Set up an access path for streaming or materializing through a temporary table.  More...
  | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::GetSafePathToSort (THD *thd, const JoinHypergraph &graph, JOIN *join, AccessPath *path, bool need_rowid, bool force_materialization) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsImmediateDeleteCandidate (const Table_ref *table_ref, const Query_block *query_block) | 
|   | Is this DELETE target table a candidate for being deleted from immediately, while scanning the result of the join? It only checks if it is a candidate for immediate delete.  More...
  | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::AddFieldsToTmpSet (Item *item, TABLE *table) | 
|   | Adds all fields of "table" that are referenced from "item" to table->tmp_set.  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsImmediateUpdateCandidate (const Table_ref *table_ref, int node_idx, const JoinHypergraph &graph, table_map target_tables) | 
|   | Is this UPDATE target table a candidate for being updated immediately, while scanning the result of the join? It only checks if it is a candidate for immediate update.  More...
  | 
|   | 
| table_map  | anonymous_namespace{join_optimizer.cc}::FindUpdateDeleteTargetTables (const Query_block *query_block) | 
|   | Finds all the target tables of an UPDATE or DELETE statement.  More...
  | 
|   | 
| table_map  | anonymous_namespace{join_optimizer.cc}::FindImmediateUpdateDeleteCandidates (const JoinHypergraph &graph, table_map target_tables, bool is_delete) | 
|   | Finds all of the target tables of an UPDATE or DELETE statement that are candidates from being updated or deleted from immediately while scanning the results of the join, without need to buffer the row IDs in a temporary table for delayed update/delete after the join has completed.  More...
  | 
|   | 
| NodeMap  | anonymous_namespace{join_optimizer.cc}::FindFullTextSearchedTables (const JoinHypergraph &graph) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsSargableFullTextIndexPredicate (Item *condition) | 
|   | 
| uint64_t  | anonymous_namespace{join_optimizer.cc}::FindSargableFullTextPredicates (const JoinHypergraph &graph) | 
|   | 
| NodeMap  | anonymous_namespace{join_optimizer.cc}::GetNodesUnderLimit (const JoinHypergraph &graph, const LogicalOrderings &orderings, int distinct_ordering_idx) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::InjectCastNodes (JoinHypergraph *graph) | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::EnableFullTextCoveringIndexes (const Query_block *query_block) | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::CreateZeroRowsForEmptyJoin (JOIN *join, const char *cause) | 
|   | Creates a ZERO_ROWS access path for an always empty join result, or a ZERO_ROWS_AGGREGATED in case of an implicitly grouped query.  More...
  | 
|   | 
| AccessPath  | anonymous_namespace{join_optimizer.cc}::CreateStreamingAggregationPath (THD *thd, const JoinHypergraph &graph, AccessPath *path, JOIN *join, olap_type olap, double row_estimate) | 
|   | Creates an AGGREGATE AccessPath, possibly with an intermediary STREAM node if one is needed.  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::IsFinalPredicate (const Predicate &predicate) | 
|   | Check if a predicate in the WHERE clause should be applied after all tables have been joined together.  More...
  | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::ApplyFinalPredicatesAndExpandFilters (THD *thd, const CostingReceiver &receiver, const JoinHypergraph &graph, const LogicalOrderings &orderings, FunctionalDependencySet *fd_set, AccessPathArray *root_candidates) | 
|   | 
| static AccessPath *  | anonymous_namespace{join_optimizer.cc}::CreateTemptableAggregationPath (THD *thd, const JoinHypergraph &graph, Query_block *query_block, AccessPath *child_path, double *aggregate_rows) | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::SplitHavingCondition (THD *thd, Item *cond, Item **having_cond, Item **having_cond_wf) | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::ApplyHavingOrQualifyCondition (THD *thd, Item *having_cond, Query_block *query_block, AccessPathArray *root_candidates, CostingReceiver *receiver) | 
|   | 
| JoinHypergraph::Node *  | anonymous_namespace{join_optimizer.cc}::FindNodeWithTable (JoinHypergraph *graph, TABLE *table) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::ForceMaterializationBeforeSort (const Query_block &query_block, bool need_rowid) | 
|   | If we have both ORDER BY and GROUP BY, we need a materialization step after the grouping (if windowing hasn't already given us one) – although in most cases, we only need to materialize one row at a time (streaming), so the performance loss should be very slight.  More...
  | 
|   | 
| void  | anonymous_namespace{join_optimizer.cc}::SetGroupSkipScanCardinality (AccessPath *path, double output_rows) | 
|   | Set the estimated number of output rows for a group skip scan to match the estimate calculated by EstimateDistinctRows() or EstimateAggregateRows().  More...
  | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::ObeysIndexOrderHints (AccessPath *root_path, JOIN *join, bool grouping) | 
|   | 
| AccessPathArray  | anonymous_namespace{join_optimizer.cc}::ApplyOrderBy (THD *thd, const CostingReceiver &receiver, const LogicalOrderings &orderings, int order_by_ordering_idx, const Query_block &query_block, bool need_rowid, const AccessPathArray &root_candidates) | 
|   | Apply the ORDER BY clause.  More...
  | 
|   | 
| static AccessPath *  | anonymous_namespace{join_optimizer.cc}::ApplyWindow (THD *thd, const JoinHypergraph &graph, AccessPath *root_path, Window *window, JOIN *join, bool need_rowid_for_window) | 
|   | 
| static int  | anonymous_namespace{join_optimizer.cc}::FindBestOrderingForWindow (JOIN *join, const LogicalOrderings &orderings, FunctionalDependencySet fd_set, const Mem_root_array< SortAheadOrdering > &sort_ahead_orderings, Bounds_checked_array< bool > finished_windows, Bounds_checked_array< bool > tmp_buffer, int first_ordering_idx, int second_ordering_idx, Bounds_checked_array< bool > included_windows) | 
|   | Find the ordering that allows us to process the most unprocessed windows.  More...
  | 
|   | 
| AccessPath *  | anonymous_namespace{join_optimizer.cc}::MakeSortPathAndApplyWindows (THD *thd, const JoinHypergraph &graph, JOIN *join, AccessPath *root_path, int ordering_idx, ORDER *order, const LogicalOrderings &orderings, Bounds_checked_array< bool > windows_this_iteration, FunctionalDependencySet fd_set, bool need_rowid_for_window, int single_window_idx, Bounds_checked_array< bool > finished_windows, int *num_windows_left) | 
|   | 
| bool  | anonymous_namespace{join_optimizer.cc}::CheckFoundPlan (THD *thd, const AccessPathArray &candidates, bool is_secondary_engine) | 
|   | Check if at least one candidate for a valid query plan was found.  More...
  | 
|   | 
| static AccessPathArray  | ApplyWindowFunctions (THD *thd, const CostingReceiver &receiver, const LogicalOrderings &orderings, FunctionalDependencySet fd_set, bool aggregation_is_unordered, int order_by_ordering_idx, int distinct_ordering_idx, const JoinHypergraph &graph, const Mem_root_array< SortAheadOrdering > &sort_ahead_orderings, Query_block *query_block, bool need_rowid, const AccessPathArray &root_candidates) | 
|   | Apply window functions.  More...
  | 
|   | 
| static bool  | CompatibleTypesForIndexLookup (Item_eq_base *eq_item, Field *field, Item *value) | 
|   | Find out if "value" has a type which is compatible with "field" so that it can be used for an index lookup if there is an index on "field".  More...
  | 
|   | 
| static const CachedPropertiesForPredicate *  | GetCachedJoinConditionProperties (const Item *cond, const RelationalExpression &expr) | 
|   | 
| static void  | PossiblyAddSargableCondition (THD *thd, Item *item, const TABLE *force_table, int predicate_index, const RelationalExpression *join_condition_for, JoinHypergraph *graph) | 
|   | Find out whether “item” is a sargable condition; if so, add it to:  More...
  | 
|   | 
| void  | FindSargablePredicates (THD *thd, JoinHypergraph *graph) | 
|   | 
| static bool  | ComesFromSameMultiEquality (Item *cond1, Item_eq_base *cond2) | 
|   | 
| static void  | CacheCostInfoForJoinConditions (THD *thd, const Query_block *query_block, JoinHypergraph *graph) | 
|   | For each edge, cache some information for each of its join conditions.  More...
  | 
|   | 
| static bool  | IsAlreadyAggregated (const AccessPath *root_path) | 
|   | 
| bool  | ApplyAggregation (THD *thd, JoinHypergraph *graph, CostingReceiver &receiver, int group_by_ordering_idx, bool need_rowid, bool aggregation_is_unordered, const LogicalOrderings &orderings, const Mem_root_array< SortAheadOrdering > &sort_ahead_orderings, FunctionalDependencySet fd_set, Query_block *query_block, AccessPathArray &root_candidates) | 
|   | 
| static AccessPath *  | FindBestQueryPlanInner (THD *thd, Query_block *query_block, bool *retry, int *subgraph_pair_limit) | 
|   | Find the lowest-cost plan (which hopefully is also the cheapest to execute) of all the legal ways to execute the query.  More...
  | 
|   | 
| AccessPath *  | FindBestQueryPlan (THD *thd, Query_block *query_block) | 
|   | The main entry point for the hypergraph join optimizer; takes in a query block and returns an access path to execute it (or nullptr, for error).  More...
  | 
|   |