OmniSciDB
bf83d84833
|
#include <RelAlgDagBuilder.h>
Public Member Functions | |
RelSort (const std::vector< SortField > &collation, const size_t limit, const size_t offset, std::shared_ptr< const RelAlgNode > input) | |
bool | operator== (const RelSort &that) const |
size_t | collationCount () const |
SortField | getCollation (const size_t i) const |
void | setCollation (std::vector< SortField > &&collation) |
void | setEmptyResult (bool emptyResult) |
bool | isEmptyResult () const |
size_t | getLimit () const |
size_t | getOffset () const |
std::string | toString () const override |
size_t | size () const override |
std::shared_ptr< RelAlgNode > | deepCopy () const override |
![]() | |
RelAlgNode (RelAlgInputs inputs={}) | |
virtual | ~RelAlgNode () |
void | resetQueryExecutionState () |
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 RelAlgNode * | getInput (const size_t idx) const |
std::shared_ptr< const RelAlgNode > | getAndOwnInput (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 () |
void | clearContextData () const |
Private Member Functions | |
bool | hasEquivCollationOf (const RelSort &that) const |
Private Attributes | |
std::vector< SortField > | collation_ |
const size_t | limit_ |
const size_t | offset_ |
bool | empty_result_ |
Additional Inherited Members | |
![]() | |
static void | resetRelAlgFirstId () noexcept |
![]() | |
RelAlgInputs | inputs_ |
const unsigned | id_ |
Definition at line 1380 of file RelAlgDagBuilder.h.
|
inline |
|
inline |
Definition at line 1395 of file RelAlgDagBuilder.h.
References collation_.
Referenced by RelAlgExecutor::createSortInputWorkUnit(), RelAlgExecutor::executeSort(), and anonymous_namespace{RelAlgExecutor.cpp}::get_order_entries().
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1430 of file RelAlgDagBuilder.h.
|
inline |
Definition at line 1397 of file RelAlgDagBuilder.h.
References CHECK_LT, and collation_.
Referenced by anonymous_namespace{RelAlgExecutor.cpp}::get_order_entries().
|
inline |
Definition at line 1410 of file RelAlgDagBuilder.h.
References limit_.
Referenced by RelAlgExecutor::createSortInputWorkUnit(), and RelAlgExecutor::executeSort().
|
inline |
Definition at line 1412 of file RelAlgDagBuilder.h.
References offset_.
Referenced by RelAlgExecutor::createSortInputWorkUnit(), and RelAlgExecutor::executeSort().
|
private |
Definition at line 548 of file RelAlgDagBuilder.cpp.
References collation_, and anonymous_namespace{RelAlgDagBuilder.cpp}::get_equiv_cols().
Referenced by operator==().
|
inline |
Definition at line 1408 of file RelAlgDagBuilder.h.
References empty_result_.
Referenced by RelAlgExecutor::executeSort().
|
inline |
Definition at line 1390 of file RelAlgDagBuilder.h.
References empty_result_, hasEquivCollationOf(), limit_, and offset_.
|
inline |
|
inline |
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1428 of file RelAlgDagBuilder.h.
References RelAlgNode::inputs_.
|
inlineoverridevirtual |
Implements RelAlgNode.
Definition at line 1414 of file RelAlgDagBuilder.h.
References cat(), collation_, RelAlgNode::inputs_, limit_, offset_, and to_string().
|
private |
Definition at line 1435 of file RelAlgDagBuilder.h.
Referenced by collationCount(), getCollation(), hasEquivCollationOf(), setCollation(), and toString().
|
private |
Definition at line 1438 of file RelAlgDagBuilder.h.
Referenced by isEmptyResult(), operator==(), and setEmptyResult().
|
private |
Definition at line 1436 of file RelAlgDagBuilder.h.
Referenced by getLimit(), operator==(), and toString().
|
private |
Definition at line 1437 of file RelAlgDagBuilder.h.
Referenced by getOffset(), operator==(), and toString().