OmniSciDB
c1a53651b2
|
#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 323 of file WindowContext.h.
const WindowFunctionContext * WindowProjectNodeContext::activateWindowFunctionContext | ( | Executor * | executor, |
const size_t | target_index | ||
) | const |
Definition at line 1817 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 1809 of file WindowContext.cpp.
References CHECK.
|
static |
Definition at line 1835 of file WindowContext.cpp.
References get().
Referenced by RelAlgExecutor::computeWindow().
|
static |
Definition at line 1841 of file WindowContext.cpp.
References get().
Referenced by Executor::codegenWindowFunction(), Executor::codegenWindowFunctionAggregate(), create(), and get().
|
static |
Definition at line 1830 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 1845 of file WindowContext.cpp.
Referenced by RelAlgExecutor::executeWorkUnit().
|
static |
Definition at line 1826 of file WindowContext.cpp.
Referenced by TargetExprCodegen::codegen().
|
private |
Definition at line 356 of file WindowContext.h.