|
|
DUCKDB_API | ExpressionExecutor (ClientContext &context) |
| |
|
DUCKDB_API | ExpressionExecutor (ClientContext &context, const Expression *expression) |
| |
|
DUCKDB_API | ExpressionExecutor (ClientContext &context, const Expression &expression) |
| |
|
DUCKDB_API | ExpressionExecutor (ClientContext &context, const vector< unique_ptr< Expression > > &expressions) |
| |
|
| ExpressionExecutor (ExpressionExecutor &&)=delete |
| |
|
bool | HasContext () |
| |
|
ClientContext & | GetContext () |
| |
|
Allocator & | GetAllocator () |
| |
|
DUCKDB_API void | AddExpression (const Expression &expr) |
| | Add an expression to the set of to-be-executed expressions of the executor.
|
| |
|
void | ClearExpressions () |
| |
|
DUCKDB_API void | Execute (DataChunk *input, DataChunk &result) |
| | Execute the set of expressions with the given input chunk and store the result in the output chunk.
|
| |
| void | Execute (DataChunk &input, DataChunk &result) |
| |
| void | Execute (DataChunk &result) |
| |
| DUCKDB_API void | ExecuteExpression (DataChunk &input, Vector &result) |
| |
| DUCKDB_API void | ExecuteExpression (Vector &result) |
| |
| DUCKDB_API idx_t | SelectExpression (DataChunk &input, SelectionVector &sel) |
| |
|
DUCKDB_API idx_t | SelectExpression (DataChunk &input, SelectionVector &result_sel, optional_ptr< SelectionVector > current_sel, idx_t current_count) |
| |
|
DUCKDB_API idx_t | SelectExpression (DataChunk &input, optional_ptr< SelectionVector > true_sel, optional_ptr< SelectionVector > false_sel, optional_ptr< SelectionVector > current_sel, idx_t current_count) |
| |
|
DUCKDB_API void | ExecuteExpression (idx_t expr_idx, Vector &result) |
| | Execute the expression with index expr_idx and store the result in the result vector.
|
| |
| void | SetChunk (DataChunk *chunk) |
| |
| void | SetChunk (DataChunk &chunk) |
| |
|
DUCKDB_API vector< unique_ptr< ExpressionExecutorState > > & | GetStates () |
| |
|
|
void | Initialize (const Expression &expr, ExpressionExecutorState &state) |
| |
|
void | Execute (const Expression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundBetweenExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundCaseExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundCastExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundComparisonExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundConjunctionExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundConstantExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundFunctionExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundOperatorExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundParameterExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
|
void | Execute (const BoundReferenceExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, Vector &result) |
| |
| idx_t | Select (const Expression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, SelectionVector *true_sel, SelectionVector *false_sel) |
| |
|
idx_t | DefaultSelect (const Expression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, SelectionVector *true_sel, SelectionVector *false_sel) |
| |
|
idx_t | Select (const BoundBetweenExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, SelectionVector *true_sel, SelectionVector *false_sel) |
| |
|
idx_t | Select (const BoundComparisonExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, SelectionVector *true_sel, SelectionVector *false_sel) |
| |
|
idx_t | Select (const BoundConjunctionExpression &expr, ExpressionState *state, const SelectionVector *sel, idx_t count, SelectionVector *true_sel, SelectionVector *false_sel) |
| |
|
void | Verify (const Expression &expr, Vector &result, idx_t count) |
| | Verify that the output of a step in the ExpressionExecutor is correct.
|
| |
|
void | FillSwitch (Vector &vector, Vector &result, const SelectionVector &sel, sel_t count) |
| |
|
|
static unique_ptr< ExpressionState > | InitializeState (const BoundReferenceExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundBetweenExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundCaseExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundCastExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundComparisonExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundConjunctionExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundConstantExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundFunctionExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundOperatorExpression &expr, ExpressionExecutorState &state) |
| |
|
static unique_ptr< ExpressionState > | InitializeState (const BoundParameterExpression &expr, ExpressionExecutorState &state) |
| |
ExpressionExecutor is responsible for executing a set of expressions and storing the result in a data chunk.