Apache GraphAr C++ Library
The C++ Library for Apache GraphAr
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
graphar::ExpressionBinaryOp Class Reference

#include <expression.h>

Inheritance diagram for graphar::ExpressionBinaryOp:
graphar::Expression graphar::ExpressionAnd graphar::ExpressionEqual graphar::ExpressionGreaterEqual graphar::ExpressionGreaterThan graphar::ExpressionLessEqual graphar::ExpressionLessThan graphar::ExpressionNotEqual graphar::ExpressionOr

Public Member Functions

 ExpressionBinaryOp (std::shared_ptr< Expression > lhs, std::shared_ptr< Expression > rhs)
 
 ExpressionBinaryOp (const ExpressionBinaryOp &other)=default
 
- Public Member Functions inherited from graphar::Expression
 Expression (const Expression &other)=default
 
virtual Result< ArrowExpression > Evaluate ()=0
 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...
 

Protected Member Functions

Status CheckNullArgs (std::shared_ptr< Expression > lhs, std::shared_ptr< Expression > rhs) noexcept
 

Protected Attributes

std::shared_ptr< Expressionlhs_
 
std::shared_ptr< Expressionrhs_
 

Detailed Description

This class constructs a binary operator expression that accepts two expressions e.g. a = 1, a > 1, a AND b, a OR b

Definition at line 131 of file expression.h.


The documentation for this class was generated from the following file: