taco-db
0.1.0
|
#include <expr/Cast.h>
Public Member Functions | |
~Cast () 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< Cast > | Create (Oid typ_oid, std::unique_ptr< ExprNode > &&child, bool implicit) |
Static Public Member Functions inherited from taco::TreeNode | |
static void | append_indent (std::string &buf, int indent) |
Private Member Functions | |
Cast (Oid typ_oid, std::unique_ptr< ExprNode > &&child, bool implicit) | |
Private Attributes | |
FunctionInfo | m_func |
Additional Inherited Members | |
Protected Attributes inherited from taco::ExprNode | |
std::shared_ptr< const SysTable_Type > | m_type |
|
override |
|
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.
|
private |