Struct tree_processor

Struct Documentation

struct ral::batch::tree_processor

Public Functions

inline tree_processor(node root, std::shared_ptr<Context> context, std::vector<ral::io::data_loader> input_loaders, std::vector<ral::io::Schema> schemas, std::vector<std::string> table_names, std::vector<std::string> table_scans, const bool transform_operators_bigger_than_gpu)
inline std::shared_ptr<kernel> make_kernel(std::size_t kernel_id, std::string expr, std::shared_ptr<ral::cache::graph> query_graph)
inline std::size_t expr_tree_from_json(std::size_t kernel_id, boost::property_tree::ptree const &p_tree, node *root_ptr, int level, std::shared_ptr<ral::cache::graph> query_graph)
inline boost::property_tree::ptree create_array_tree(boost::property_tree::ptree child)
inline void transform_json_tree(boost::property_tree::ptree &p_tree, bool first_windowed_call = true)
inline std::string to_string()
inline std::string to_string(node *p_tree, int level)
inline std::string transform_physical_plan(std::string json)
inline std::tuple<std::shared_ptr<ral::cache::graph>, std::size_t> build_batch_graph(std::string json)
inline void visit(ral::cache::graph &query_graph, node *parent, std::vector<std::shared_ptr<node>> &children)

Public Members

node root
std::shared_ptr<Context> context
std::vector<ral::io::data_loader> input_loaders
std::vector<ral::io::Schema> schemas
std::vector<std::string> table_names
std::vector<std::string> table_scans
const bool transform_operators_bigger_than_gpu = false