|
Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
|
#include <expression.h>
Public Member Functions | |
| ExpressionNot (std::shared_ptr< Expression > expr) | |
| ExpressionNot (const ExpressionNot &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... | |
Public Member Functions inherited from graphar::ExpressionUnaryOp | |
| ExpressionUnaryOp (std::shared_ptr< Expression > expr) | |
| ExpressionUnaryOp (const ExpressionUnaryOp &other)=default | |
Public Member Functions inherited from graphar::Expression | |
| Expression (const Expression &other)=default | |
Additional Inherited Members | |
Protected Attributes inherited from graphar::ExpressionUnaryOp | |
| std::shared_ptr< Expression > | expr_ |
This class constructs a NOT operator expression. e.g. new ExpressionNot(new ExpressionLiteral(true)) => NOT TRUE
Definition at line 116 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 28 of file expression.cc.