OmniSciDB
085a039ca4
|
#include "Analyzer/Analyzer.h"
#include "DataMgr/Chunk/Chunk.h"
#include "QueryEngine/JoinHashTable/HashJoin.h"
#include <functional>
#include <unordered_map>
Go to the source code of this file.
Classes | |
class | WindowFunctionContext |
struct | WindowFunctionContext::AggregateState |
class | WindowProjectNodeContext |
Functions | |
bool | window_function_is_value (const SqlWindowFunctionKind kind) |
bool | window_function_is_aggregate (const SqlWindowFunctionKind kind) |
bool | window_function_requires_peer_handling (const Analyzer::WindowFunction *window_func) |
|
inline |
Definition at line 42 of file WindowContext.h.
References AVG, COUNT, MAX, MIN, SUM, and SUM_INTERNAL.
Referenced by WindowFunctionContext::aggregateState(), WindowFunctionContext::aggregateStateCount(), WindowFunctionContext::aggregateStatePendingOutputs(), TargetExprCodegen::codegen(), GroupByAndAggregate::codegenWindowRowPointer(), WindowFunctionContext::compute(), and window_function_requires_peer_handling().
|
inline |
Definition at line 27 of file WindowContext.h.
References FIRST_VALUE, LAG, LAST_VALUE, and LEAD.
Referenced by RelAlgTranslator::translateWindowFunction().
bool window_function_requires_peer_handling | ( | const Analyzer::WindowFunction * | window_func | ) |
Definition at line 447 of file WindowContext.cpp.
References Analyzer::WindowFunction::getKind(), Analyzer::WindowFunction::getOrderKeys(), MAX, MIN, and window_function_is_aggregate().
Referenced by TargetExprCodegen::codegenAggregate(), WindowFunctionContext::compute(), and WindowFunctionContext::computePartitionBuffer().