OmniSciDB
a5dc49c757
|
#include <WindowContext.h>
Public Member Functions | |
void | addWindowFunctionContext (std::unique_ptr< WindowFunctionContext > window_function_context, const size_t target_index) |
const WindowFunctionContext * | activateWindowFunctionContext (Executor *executor, const size_t target_index) const |
Static Public Member Functions | |
static void | resetWindowFunctionContext (Executor *executor) |
static WindowFunctionContext * | getActiveWindowFunctionContext (Executor *executor) |
static WindowProjectNodeContext * | create (Executor *executor) |
static const WindowProjectNodeContext * | get (Executor *executor) |
static void | reset (Executor *executor) |
Private Attributes | |
std::unordered_map< size_t, std::unique_ptr < WindowFunctionContext > > | window_contexts_ |
Definition at line 349 of file WindowContext.h.
const WindowFunctionContext * WindowProjectNodeContext::activateWindowFunctionContext | ( | Executor * | executor, |
const size_t | target_index | ||
) | const |
Definition at line 1838 of file WindowContext.cpp.
References CHECK.
Referenced by Executor::codegenWindowFunction().
void WindowProjectNodeContext::addWindowFunctionContext | ( | std::unique_ptr< WindowFunctionContext > | window_function_context, |
const size_t | target_index | ||
) |
Definition at line 1830 of file WindowContext.cpp.
References CHECK.
|
static |
Definition at line 1856 of file WindowContext.cpp.
References get().
Referenced by RelAlgExecutor::computeWindow().
|
static |
Definition at line 1862 of file WindowContext.cpp.
References get().
Referenced by Executor::codegenWindowFunction(), Executor::codegenWindowFunctionAggregate(), create(), and get().
|
static |
Definition at line 1851 of file WindowContext.cpp.
Referenced by Executor::aggregateWindowStatePtr(), TargetExprCodegen::codegenAggregate(), Executor::codegenAggregateWindowState(), CodeGenerator::codegenColVar(), Executor::codegenWindowAvgEpilogue(), Executor::codegenWindowFunctionAggregate(), Executor::codegenWindowFunctionAggregateCalls(), Executor::codegenWindowFunctionStateInit(), Executor::codegenWindowNavigationFunctionOnFrame(), Executor::codegenWindowResetStateControlFlow(), and GroupByAndAggregate::codegenWindowRowPointer().
|
static |
Definition at line 1866 of file WindowContext.cpp.
Referenced by RelAlgExecutor::executeWorkUnit().
|
static |
Definition at line 1847 of file WindowContext.cpp.
Referenced by TargetExprCodegen::codegen().
|
private |
Definition at line 382 of file WindowContext.h.