OmniSciDB
a5dc49c757
|
#include <RelAlgExecutionUnit.h>
Public Member Functions | |
SortInfo () | |
algorithm (SortAlgorithm::Default) | |
limit (std::nullopt) | |
offset (0) | |
SortInfo (const std::list< Analyzer::OrderEntry > &oe, const SortAlgorithm sa, std::optional< size_t > l, size_t o) | |
SortInfo & | operator= (const SortInfo &other) |
size_t | hashLimit () const |
Static Public Member Functions | |
static SortInfo | createFromSortNode (const RelSort *sort_node) |
Public Attributes | |
std::list< Analyzer::OrderEntry > | order_entries |
SortAlgorithm | algorithm |
std::optional< size_t > | limit |
size_t | offset |
Definition at line 117 of file RelAlgExecutionUnit.h.
|
inline |
Definition at line 118 of file RelAlgExecutionUnit.h.
|
inline |
Definition at line 124 of file RelAlgExecutionUnit.h.
SortInfo::algorithm | ( | SortAlgorithm::Default | ) |
Definition at line 138 of file RelAlgExecutionUnit.h.
References RelSort::getLimit(), RelSort::getOffset(), RelSort::getOrderEntries(), and SpeculativeTopN.
Referenced by RelAlgExecutor::executeRelAlgStep(), and RaExecutionSequence::next().
|
inline |
Definition at line 145 of file RelAlgExecutionUnit.h.
References limit.
Referenced by QueryPlanDagExtractor::applyLimitClauseToCacheKey().
SortInfo::limit | ( | std::nullopt | ) |
|
inline |
Definition at line 122 of file RelAlgExecutionUnit.h.
Definition at line 130 of file RelAlgExecutionUnit.h.
References algorithm, limit, offset, and order_entries.
SortAlgorithm SortInfo::algorithm |
Definition at line 153 of file RelAlgExecutionUnit.h.
Referenced by anonymous_namespace{Execute.cpp}::checkWorkUnitWatchdog(), operator=(), use_speculative_top_n(), and anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n().
std::optional<size_t> SortInfo::limit |
Definition at line 154 of file RelAlgExecutionUnit.h.
Referenced by QueryMemoryInitializer::applyStreamingTopNOffsetCpu(), GroupByAndAggregate::codegenOutputSlot(), Executor::collectAllDeviceShardedTopResults(), QueryMemoryInitializer::copyGroupByBuffersFromGpu(), QueryMemoryInitializer::createAndInitializeGroupByBufferGpu(), QueryMemoryDescriptor::getBufferSizeBytes(), hashLimit(), QueryMemoryInitializer::initGroupByBuffer(), operator=(), Executor::reduceSpeculativeTopN(), GroupByAndAggregate::shard_count_for_top_groups(), QueryFragmentDescriptor::terminateDispatchMaybe(), use_speculative_top_n(), and anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n().
size_t SortInfo::offset |
Definition at line 155 of file RelAlgExecutionUnit.h.
Referenced by QueryMemoryInitializer::applyStreamingTopNOffsetCpu(), GroupByAndAggregate::codegenOutputSlot(), Executor::collectAllDeviceShardedTopResults(), QueryMemoryInitializer::copyGroupByBuffersFromGpu(), QueryMemoryInitializer::createAndInitializeGroupByBufferGpu(), QueryMemoryDescriptor::getBufferSizeBytes(), QueryMemoryInitializer::initGroupByBuffer(), operator=(), Executor::reduceSpeculativeTopN(), QueryFragmentDescriptor::terminateDispatchMaybe(), and anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n().
std::list<Analyzer::OrderEntry> SortInfo::order_entries |
Definition at line 152 of file RelAlgExecutionUnit.h.
Referenced by anonymous_namespace{RelAlgExecutor.cpp}::can_output_columnar(), anonymous_namespace{RelAlgExecutor.cpp}::can_use_bump_allocator(), GroupByAndAggregate::codegenOutputSlot(), Executor::collectAllDeviceShardedTopResults(), GroupByAndAggregate::getColRangeInfo(), GroupByAndAggregate::initQueryMemoryDescriptor(), anonymous_namespace{QueryFragmentDescriptor.cpp}::is_sample_query(), QueryExecutionContext::launchGpuCode(), operator=(), Executor::reduceSpeculativeTopN(), GroupByAndAggregate::shard_count_for_top_groups(), anonymous_namespace{QueryMemoryDescriptor.cpp}::target_expr_proj_indices(), and anonymous_namespace{QueryMemoryDescriptor.cpp}::use_streaming_top_n().