Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
#include <expression.h>
Public Member Functions | |
ExpressionAnd (std::shared_ptr< Expression > lhs, std::shared_ptr< Expression > rhs) | |
ExpressionAnd (const ExpressionAnd &other)=default | |
Result< ArrowExpression > | Evaluate () override |
Evaluate Expression as arrow::compute::Expression e.g. new ExpressionEqual(new ExpressionProperty("a"), new ExpressionLiteral(1)) will be parsed as arrow::compute::equal(arrow::compute::field_ref("a"), arrow::compute::literal(1)) More... | |
![]() | |
ExpressionBinaryOp (std::shared_ptr< Expression > lhs, std::shared_ptr< Expression > rhs) | |
ExpressionBinaryOp (const ExpressionBinaryOp &other)=default | |
![]() | |
Expression (const Expression &other)=default | |
Additional Inherited Members | |
![]() | |
Status | CheckNullArgs (std::shared_ptr< Expression > lhs, std::shared_ptr< Expression > rhs) noexcept |
![]() | |
std::shared_ptr< Expression > | lhs_ |
std::shared_ptr< Expression > | rhs_ |
This class constructs a AND operator expression. e.g. new ExpressionAnd(new ExpressionLiteral(true), new ExpressionLiteral(1)) => TRUE AND 1
Definition at line 261 of file expression.h.
|
overridevirtual |
Evaluate Expression as arrow::compute::Expression e.g. new ExpressionEqual(new ExpressionProperty("a"), new ExpressionLiteral(1)) will be parsed as arrow::compute::equal(arrow::compute::field_ref("a"), arrow::compute::literal(1))
Implements graphar::Expression.
Definition at line 75 of file expression.cc.