MCPcopy Create free account
hub / github.com/apache/arrow / FunctionNode

Method FunctionNode

cpp/src/gandiva/node.h:157–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155};
156
157inline FunctionNode::FunctionNode(const std::string& name, const NodeVector& children,
158 DataTypePtr return_type)
159 : Node(return_type), children_(children) {
160 DataTypeVector param_types;
161 for (auto& child : children) {
162 param_types.push_back(child->return_type());
163 }
164
165 descriptor_ = FuncDescriptorPtr(new FuncDescriptor(name, param_types, return_type));
166}
167
168/// \brief Node in the expression tree, representing an if-else expression.
169class GANDIVA_EXPORT IfNode : public Node {

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80
return_typeMethod · 0.45

Tested by

no test coverage detected