Kùzu C++ API
Loading...
Searching...
No Matches
bind_input.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5#include "expression.h"
7#include "reader_config.h"
8#include "value.h"
9
10namespace kuzu {
11namespace binder {
12class LiteralExpression;
13class Binder;
14} // namespace binder
15namespace main {
16class ClientContext;
17}
18
19namespace common {
20class Value;
21}
22
23namespace function {
24
26
27struct TableFunction;
28
30 virtual ~ExtraTableFuncBindInput() = default;
31
32 template<class TARGET>
33 const TARGET* constPtrCast() const {
35 }
36};
37
41 std::unique_ptr<ExtraTableFuncBindInput> extraInput = nullptr;
42 binder::Binder* binder = nullptr;
43
44 TableFuncBindInput() = default;
45
47
48 std::shared_ptr<binder::Expression> getParam(common::idx_t idx) const { return params[idx]; }
50 template<typename T>
52};
53
60
61} // namespace function
62} // namespace kuzu
Definition value.h:26
Contain client side configuration. We make profiler associated per query, so profiler is not maintain...
Definition client_context.h:61
std::vector< std::shared_ptr< Expression > > expression_vector
Definition expression.h:19
uint32_t idx_t
Definition types.h:44
std::unordered_map< std::string, T, CaseInsensitiveStringHashFunction, CaseInsensitiveStringEquality > case_insensitive_map_t
Definition case_insensitive_map.h:22
TO ku_dynamic_cast(FROM *old)
Definition cast.h:11
common::case_insensitive_map_t< common::Value > optional_params_t
Definition bind_input.h:25
Definition array_utils.h:7
Definition reader_config.h:31
function::TableFunction * tableFunction
Definition bind_input.h:58
std::vector< std::string > expectedColumnNames
Definition bind_input.h:56
std::vector< common::LogicalType > expectedColumnTypes
Definition bind_input.h:57
common::ReaderConfig config
Definition bind_input.h:55
Definition bind_input.h:29
const TARGET * constPtrCast() const
Definition bind_input.h:33
Definition bind_input.h:38
optional_params_t optionalParams
Definition bind_input.h:40
std::unique_ptr< ExtraTableFuncBindInput > extraInput
Definition bind_input.h:41
common::Value getValue(common::idx_t idx) const
void addLiteralParam(common::Value value)
T getLiteralVal(common::idx_t idx) const
std::shared_ptr< binder::Expression > getParam(common::idx_t idx) const
Definition bind_input.h:48
binder::Binder * binder
Definition bind_input.h:42
binder::expression_vector params
Definition bind_input.h:39
Definition table_functions.h:91