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

Function ggandiva_or_node_new

c_glib/gandiva-glib/node.cpp:1460–1470  ·  view source on GitHub ↗

* ggandiva_or_node_new: * @children: (element-type GGandivaNode): The children of the OR node. * * Returns: A newly created #GGandivaOrNode for the OR expression. * * Since: 0.17.0 */

Source from the content-addressed store, hash-verified

1458 * Since: 0.17.0
1459 */
1460GGandivaOrNode *
1461ggandiva_or_node_new(GList *children)
1462{
1463 std::vector<std::shared_ptr<gandiva::Node>> gandiva_nodes;
1464 for (auto node = children; node; node = g_list_next(node)) {
1465 auto gandiva_node = ggandiva_node_get_raw(GGANDIVA_NODE(node->data));
1466 gandiva_nodes.push_back(gandiva_node);
1467 }
1468 auto gandiva_node = gandiva::TreeExprBuilder::MakeOr(gandiva_nodes);
1469 return GGANDIVA_OR_NODE(ggandiva_boolean_node_new_raw(&gandiva_node, children));
1470}
1471
1472G_END_DECLS
1473

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80

Tested by

no test coverage detected