OmniSciDB  04ee39c94c
RelLogicalValues Class Reference

#include <RelAlgAbstractInterpreter.h>

+ Inheritance diagram for RelLogicalValues:
+ Collaboration diagram for RelLogicalValues:

Public Member Functions

 RelLogicalValues (const std::vector< TargetMetaInfo > &tuple_type)
 
const std::vector< TargetMetaInfogetTupleType () const
 
std::string toString () const override
 
size_t size () const override
 
std::shared_ptr< RelAlgNodedeepCopy () const override
 
- Public Member Functions inherited from RelAlgNode
 RelAlgNode ()
 
virtual ~RelAlgNode ()
 
void setContextData (const void *context_data) const
 
void setOutputMetainfo (const std::vector< TargetMetaInfo > &targets_metainfo) const
 
const std::vector< TargetMetaInfo > & getOutputMetainfo () const
 
unsigned getId () const
 
bool hasContextData () const
 
const void * getContextData () const
 
const size_t inputCount () const
 
const RelAlgNodegetInput (const size_t idx) const
 
std::shared_ptr< const RelAlgNodegetAndOwnInput (const size_t idx) const
 
void addManagedInput (std::shared_ptr< const RelAlgNode > input)
 
bool hasInput (const RelAlgNode *needle) const
 
virtual void replaceInput (std::shared_ptr< const RelAlgNode > old_input, std::shared_ptr< const RelAlgNode > input)
 
bool isNop () const
 
void markAsNop ()
 

Private Attributes

const std::vector< TargetMetaInfotuple_type_
 

Additional Inherited Members

- Static Public Member Functions inherited from RelAlgNode
static void resetRelAlgFirstId () noexcept
 
- Protected Attributes inherited from RelAlgNode
std::vector< std::shared_ptr< const RelAlgNode > > inputs_
 
const unsigned id_
 

Detailed Description

Definition at line 1359 of file RelAlgAbstractInterpreter.h.

Constructor & Destructor Documentation

◆ RelLogicalValues()

RelLogicalValues::RelLogicalValues ( const std::vector< TargetMetaInfo > &  tuple_type)
inline

Definition at line 1361 of file RelAlgAbstractInterpreter.h.

1362  : tuple_type_(tuple_type) {}
const std::vector< TargetMetaInfo > tuple_type_

Member Function Documentation

◆ deepCopy()

std::shared_ptr<RelAlgNode> RelLogicalValues::deepCopy ( ) const
inlineoverridevirtual

Implements RelAlgNode.

Definition at line 1373 of file RelAlgAbstractInterpreter.h.

1373  {
1374  return std::make_shared<RelLogicalValues>(tuple_type_);
1375  }
const std::vector< TargetMetaInfo > tuple_type_

◆ getTupleType()

const std::vector<TargetMetaInfo> RelLogicalValues::getTupleType ( ) const
inline

Definition at line 1364 of file RelAlgAbstractInterpreter.h.

Referenced by RelAlgExecutor::executeLogicalValues().

1364 { return tuple_type_; }
const std::vector< TargetMetaInfo > tuple_type_
+ Here is the caller graph for this function:

◆ size()

size_t RelLogicalValues::size ( ) const
inlineoverridevirtual

Implements RelAlgNode.

Definition at line 1371 of file RelAlgAbstractInterpreter.h.

1371 { return tuple_type_.size(); }
const std::vector< TargetMetaInfo > tuple_type_

◆ toString()

std::string RelLogicalValues::toString ( ) const
inlineoverridevirtual

Implements RelAlgNode.

Definition at line 1366 of file RelAlgAbstractInterpreter.h.

1366  {
1367  // TODO
1368  return "(RelLogicalValues)";
1369  }

Member Data Documentation

◆ tuple_type_

const std::vector<TargetMetaInfo> RelLogicalValues::tuple_type_
private

Definition at line 1378 of file RelAlgAbstractInterpreter.h.


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