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

Method MakeCondition

cpp/src/gandiva/tree_expr_builder.cc:171–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171ConditionPtr TreeExprBuilder::MakeCondition(NodePtr root_node) {
172 if (root_node == nullptr) {
173 return nullptr;
174 }
175 if (print_expr) {
176 std::cout << "Condition: " << root_node->ToString() << "\n";
177 }
178
179 return ConditionPtr(new Condition(root_node));
180}
181
182ConditionPtr TreeExprBuilder::MakeCondition(const std::string& function,
183 const FieldVector& in_fields) {

Callers

nothing calls this directly

Calls 3

push_backMethod · 0.80
MakeFunctionFunction · 0.50
ToStringMethod · 0.45

Tested by

no test coverage detected