Turi Create  4.0
turi::query_eval::node_info Struct Reference

#include <core/storage/query_engine/planning/optimization_node_info.hpp>

Public Member Functions

size_t num_columns () const
 

Public Attributes

std::shared_ptr< planner_nodepnode
 
planner_node_type type
 
query_operator_attributes attributes
 
std::vector< node_info_ptr > inputs
 

Detailed Description

The node_info is the struct over which the optimizations are performed. It is here to make the query optimization and execution easy to write and work with.

Definition at line 26 of file optimization_node_info.hpp.

Member Function Documentation

◆ num_columns()

size_t turi::query_eval::node_info::num_columns ( ) const
inline

The number of output columns. Cached.

Definition at line 69 of file optimization_node_info.hpp.

Member Data Documentation

◆ attributes

query_operator_attributes turi::query_eval::node_info::attributes

The attributes from the operator class.

Definition at line 46 of file optimization_node_info.hpp.

◆ inputs

std::vector<node_info_ptr> turi::query_eval::node_info::inputs

Used internally to track and build the graph. Used for the query optimizer.

Definition at line 51 of file optimization_node_info.hpp.

◆ pnode

std::shared_ptr<planner_node> turi::query_eval::node_info::pnode

The planner node we are working with.

Definition at line 38 of file optimization_node_info.hpp.

◆ type

planner_node_type turi::query_eval::node_info::type

The type of the planner node.

Definition at line 42 of file optimization_node_info.hpp.


The documentation for this struct was generated from the following file: