Turi Create
4.0
|
#include <core/storage/query_engine/execution/subplan_executor.hpp>
Public Member Functions | |
sframe | run (const std::shared_ptr< planner_node > &run_this, const materialize_options &exec_params=materialize_options()) |
std::vector< sframe > | run (const std::vector< std::shared_ptr< planner_node > > &stuff_to_run_in_parallel, const materialize_options &exec_params=materialize_options()) |
sframe | run_concat (const std::vector< std::shared_ptr< planner_node > > &stuff_to_run_in_parallel, const materialize_options &exec_params=materialize_options()) |
The subplan executor executes a restricted class of constant rate query plans.
The subplan executor is the last stage of a hierarchy of query executors.
The hierarchy is:
As described in execution_node, to successfully execute a query plan requires certain rate control constraints to be true: i.e. all nodes must read/write data at exactly the same rate.
This executor assumes that the query plan to execute is exactly restricted to that. It simply sets up the pipeline of execution_node objects and materializes the results.
Definition at line 52 of file subplan_executor.hpp.
sframe turi::query_eval::subplan_executor::run | ( | const std::shared_ptr< planner_node > & | run_this, |
const materialize_options & | exec_params = materialize_options() |
||
) |
Runs a single job sequentially returning the resultant SFrame.
Note that materialize_options may be used to adapt the materialization process.
std::vector<sframe> turi::query_eval::subplan_executor::run | ( | const std::vector< std::shared_ptr< planner_node > > & | stuff_to_run_in_parallel, |
const materialize_options & | exec_params = materialize_options() |
||
) |
Runs a batch of planner nodes in parallel, returning an SFrame for each of them.
Note that materialize_options may be used to adapt the materialization process.
sframe turi::query_eval::subplan_executor::run_concat | ( | const std::vector< std::shared_ptr< planner_node > > & | stuff_to_run_in_parallel, |
const materialize_options & | exec_params = materialize_options() |
||
) |
Runs a batch of planner nodes in parallel, returning an SFrame comprising of the concatenation of the output of each of the planner nodes.
All the stuff_to_run_in_parallel must share exactly the same schema.
Note that materialize_options may be used to adapt the materialization process.