OmniSciDB
cde582ebc3
|
#include <RelAlgDag.h>
Public Types | |
using | ConstRexScalarPtr = std::unique_ptr< const RexScalar > |
using | ConstRexScalarPtrVector = std::vector< ConstRexScalarPtr > |
Public Member Functions | |
RexFunctionOperator (const std::string &name, ConstRexScalarPtrVector &operands, const SQLTypeInfo &ti) | |
std::unique_ptr< const RexOperator > | getDisambiguated (std::vector< std::unique_ptr< const RexScalar >> &operands) const override |
const std::string & | getName () const |
std::string | toString (RelRexToStringConfig config=RelRexToStringConfig::defaults()) const override |
size_t | toHash () const override |
![]() | |
RexOperator (const SQLOps op, std::vector< std::unique_ptr< const RexScalar >> &operands, const SQLTypeInfo &type) | |
size_t | size () const |
const RexScalar * | getOperand (const size_t idx) const |
const RexScalar * | getOperandAndRelease (const size_t idx) const |
SQLOps | getOperator () const |
const SQLTypeInfo & | getType () const |
![]() | |
virtual | ~Rex () |
Private Attributes | |
const std::string | name_ |
Additional Inherited Members | |
![]() | |
const SQLOps | op_ |
std::vector< std::unique_ptr < const RexScalar > > | operands_ |
const SQLTypeInfo | type_ |
![]() | |
std::optional< size_t > | hash_ |
Definition at line 436 of file RelAlgDag.h.
using RexFunctionOperator::ConstRexScalarPtr = std::unique_ptr<const RexScalar> |
Definition at line 438 of file RelAlgDag.h.
using RexFunctionOperator::ConstRexScalarPtrVector = std::vector<ConstRexScalarPtr> |
Definition at line 439 of file RelAlgDag.h.
|
inline |
Definition at line 441 of file RelAlgDag.h.
Referenced by getDisambiguated(), and toHash().
|
inlineoverridevirtual |
Reimplemented from RexOperator.
Definition at line 446 of file RelAlgDag.h.
References RexOperator::getType(), name_, and RexFunctionOperator().
|
inline |
Definition at line 452 of file RelAlgDag.h.
References name_.
Referenced by anonymous_namespace{RelAlgTranslator.cpp}::get_quantified_rhs(), RexWindowFunctionOperator::toHash(), RexWindowFunctionOperator::toString(), RelAlgTranslator::translateBinaryGeoConstructor(), RelAlgTranslator::translateBinaryGeoFunction(), RelAlgTranslator::translateBinaryGeoPredicate(), RelAlgTranslator::translateCardinality(), RelAlgTranslator::translateExtract(), RelAlgTranslator::translateFunction(), RelAlgTranslator::translateFunctionWithGeoArg(), RelAlgTranslator::translateGeoProjection(), RelAlgTranslator::translateKeyForString(), RelAlgTranslator::translateLength(), RelAlgTranslator::translateLike(), RelAlgTranslator::translateStringOper(), RelAlgTranslator::translateTernaryGeoFunction(), RelAlgTranslator::translateUnaryGeoFunction(), RelAlgTranslator::translateUnaryGeoPredicate(), RelAlgTranslator::translateWindowFunction(), and QueryPlanDagChecker::visit().
|
inlineoverridevirtual |
Reimplemented from RexOperator.
Reimplemented in RexWindowFunctionOperator.
Definition at line 463 of file RelAlgDag.h.
References RexOperator::getType(), Rex::hash_, name_, RexOperator::op_, RexOperator::operands_, RexFunctionOperator(), and toString().
|
inlineoverridevirtual |
Reimplemented from RexOperator.
Reimplemented in RexWindowFunctionOperator.
Definition at line 454 of file RelAlgDag.h.
References cat(), name_, RexOperator::operands_, and typeName().
Referenced by toHash(), and RelAlgTranslator::translateGeoProjection().
|
private |
Definition at line 477 of file RelAlgDag.h.
Referenced by getDisambiguated(), getName(), toHash(), and toString().