1 #ifndef EXPR_OROPERATOR_H
2 #define EXPR_OROPERATOR_H
10 static std::unique_ptr<OrOperator>
11 Create(std::unique_ptr<ExprNode>&& left,
12 std::unique_ptr<ExprNode>&& right);
16 Datum Eval(
const std::vector<NullableDatumRef>& record)
const override;
18 Datum Eval(
const char* record)
const override;
23 std::unique_ptr<ExprNode>&& right);
A Datum stores and possibly manage the memory resource of a read-only value of a plain fixed-length C...
Definition: datum.h:250
ExprNode is an abstract class of all expressions.
Definition: ExprNode.h:29
Definition: OrOperator.h:8
~OrOperator() override
Definition: OrOperator.cpp:18
static std::unique_ptr< OrOperator > Create(std::unique_ptr< ExprNode > &&left, std::unique_ptr< ExprNode > &&right)
Definition: OrOperator.cpp:21
Datum Eval(const std::vector< NullableDatumRef > &record) const override
Evaluate function upon a deserialized record.
Definition: OrOperator.cpp:28
OrOperator(std::unique_ptr< ExprNode > &&left, std::unique_ptr< ExprNode > &&right)
Definition: OrOperator.cpp:7
void node_properties_to_string(std::string &buf, int indent) const override
Definition: OrOperator.cpp:47