6 #ifndef TURI_SFRAME_QUERY_ENGINE_SUBPLAN_EXECUTOR_H_ 7 #define TURI_SFRAME_QUERY_ENGINE_SUBPLAN_EXECUTOR_H_ 12 #include <core/storage/sframe_data/sframe.hpp> 13 #include <core/storage/query_engine/planning/materialize_options.hpp> 15 namespace turi {
namespace query_eval {
17 typedef std::function<bool(size_t, const std::shared_ptr<sframe_rows>&)> execution_callback;
61 sframe run(
const std::shared_ptr<planner_node>& run_this,
70 std::vector<sframe>
run(
71 const std::vector<std::shared_ptr<planner_node> >& stuff_to_run_in_parallel,
84 const std::vector<std::shared_ptr<planner_node> >& stuff_to_run_in_parallel,
93 void generate_to_sframe_segment(
const std::shared_ptr<planner_node>& run_this,
95 size_t output_segment_id);
101 void generate_to_callback_function(
102 const std::shared_ptr<planner_node>& plan,
103 size_t output_segment_id,
104 execution_callback out_f);
sframe run(const std::shared_ptr< planner_node > &run_this, 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())