OmniSciDB
a5dc49c757
|
#include <ResultSetReductionOps.h>
Public Types | |
enum | BinaryOp { BinaryOp::Add, BinaryOp::Mul } |
Public Member Functions | |
BinaryOperator (const BinaryOp op, const Value *lhs, const Value *rhs, const std::string &label) | |
BinaryOp | op () const |
const Value * | lhs () const |
const Value * | rhs () const |
void | run (ReductionInterpreterImpl *interpreter) override |
Public Member Functions inherited from Instruction | |
Instruction (const Type type, const std::string &label) | |
Public Member Functions inherited from Value | |
Value (const Type type, const std::string &label) | |
Type | type () const |
size_t | id () const |
const std::string & | label () const |
virtual | ~Value ()=default |
Private Attributes | |
const BinaryOp | op_ |
const Value * | lhs_ |
const Value * | rhs_ |
Definition at line 344 of file ResultSetReductionOps.h.
|
strong |
Enumerator | |
---|---|
Add | |
Mul |
Definition at line 346 of file ResultSetReductionOps.h.
|
inline |
Definition at line 351 of file ResultSetReductionOps.h.
|
inline |
|
inline |
|
inline |
|
overridevirtual |
Implements Instruction.
Definition at line 375 of file ResultSetReductionInterpreter.cpp.
References ReductionInterpreterImpl::runBinaryOperator().
|
private |
Definition at line 367 of file ResultSetReductionOps.h.
Referenced by lhs().
|
private |
Definition at line 366 of file ResultSetReductionOps.h.
Referenced by op().
|
private |
Definition at line 368 of file ResultSetReductionOps.h.
Referenced by rhs().