OmniSciDB  8a228a1076
RexAbstractInput Class Reference

#include <RelAlgDagBuilder.h>

+ Inheritance diagram for RexAbstractInput:
+ Collaboration diagram for RexAbstractInput:

Public Member Functions

 RexAbstractInput (const unsigned in_index)
unsigned getIndex () const
void setIndex (const unsigned in_index) const
std::string toString () const override
- Public Member Functions inherited from Rex
virtual ~Rex ()

Private Attributes

unsigned in_index_

Detailed Description

Definition at line 53 of file RelAlgDagBuilder.h.

Constructor & Destructor Documentation

◆ RexAbstractInput()

RexAbstractInput::RexAbstractInput ( const unsigned  in_index)

Definition at line 55 of file RelAlgDagBuilder.h.

55 : in_index_(in_index) {}

Member Function Documentation

◆ getIndex()

◆ setIndex()

void RexAbstractInput::setIndex ( const unsigned  in_index) const

Definition at line 59 of file RelAlgDagBuilder.h.

Referenced by anonymous_namespace{RelAlgDagBuilder.cpp}::RexRebindReindexInputsVisitor::visitInput(), and anonymous_namespace{RelLeftDeepInnerJoin.cpp}::RebindRexInputsFromLeftDeepJoin::visitInput().

59 { in_index_ = in_index; }
+ Here is the caller graph for this function:

◆ toString()

std::string RexAbstractInput::toString ( ) const

Implements Rex.

Reimplemented in RexInput.

Definition at line 61 of file RelAlgDagBuilder.h.

References to_string().

61  {
62  return "(RexAbstractInput " + std::to_string(in_index_) + ")";
63  }
std::string to_string(char const *&&v)
+ Here is the call graph for this function:

Member Data Documentation

◆ in_index_

unsigned RexAbstractInput::in_index_

Definition at line 66 of file RelAlgDagBuilder.h.

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