|
taco-db
0.1.0
|
#include <expr/BinaryOperator.h>
Public Member Functions | |
| ~BinaryOperator () override | |
| Datum | Eval (const std::vector< NullableDatumRef > &record) const override |
| Evaluate function upon a deserialized record. More... | |
| Datum | Eval (const char *record) const override |
| Evaluate function on top of a serialized record. More... | |
| void | node_properties_to_string (std::string &buf, int indent) const override |
Public Member Functions inherited from taco::ExprNode | |
| template<class ... UniquePtrs> | |
| ExprNode (NodeTag tag, UniquePtrs &&...input) | |
| Base constructor for all expression nodes. More... | |
| virtual | ~ExprNode () |
| Deconstructor. More... | |
| std::shared_ptr< const SysTable_Type > | ReturnType () const |
| Derive the return type of this expression. More... | |
Public Member Functions inherited from taco::TreeNode | |
| template<class ... UniquePtrs> | |
| TreeNode (NodeTag tag, UniquePtrs &&...input) | |
| virtual | ~TreeNode () |
| TreeNode (TreeNode &&)=default | |
| TreeNode & | operator= (TreeNode &&)=default |
| TreeNode (const TreeNode &)=delete | |
| TreeNode & | operator= (const TreeNode &)=delete |
| constexpr NodeTag | get_tag () const |
| TreeNode * | get_input (size_t i) const |
| template<class Node > | |
| Node * | get_input_as (size_t i) const |
| std::string | to_string () const |
| void | node_to_string (std::string &buf, int indent) const |
| Prints the node contents to a string buffer. More... | |
| const char * | node_name () const |
Static Public Member Functions | |
| static std::unique_ptr< BinaryOperator > | Create (OpType optype, std::unique_ptr< ExprNode > &&left, std::unique_ptr< ExprNode > &&right) |
Static Public Member Functions inherited from taco::TreeNode | |
| static void | append_indent (std::string &buf, int indent) |
Private Member Functions | |
| BinaryOperator (OpType optype, std::unique_ptr< ExprNode > &&left, std::unique_ptr< ExprNode > &&right) | |
Additional Inherited Members | |
Protected Attributes inherited from taco::ExprNode | |
| std::shared_ptr< const SysTable_Type > | m_type |
|
inlineoverride |
|
private |
|
static |
|
overridevirtual |
Evaluate function on top of a serialized record.
Implements taco::ExprNode.
|
overridevirtual |
Evaluate function upon a deserialized record.
Implements taco::ExprNode.
|
overridevirtual |
Implements taco::TreeNode.