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

Function ggandiva_and_node_new

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

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

Source from the content-addressed store, hash-verified

1426 * Since: 0.17.0
1427 */
1428GGandivaAndNode *
1429ggandiva_and_node_new(GList *children)
1430{
1431 std::vector<std::shared_ptr<gandiva::Node>> gandiva_nodes;
1432 for (auto node = children; node; node = g_list_next(node)) {
1433 auto gandiva_node = ggandiva_node_get_raw(GGANDIVA_NODE(node->data));
1434 gandiva_nodes.push_back(gandiva_node);
1435 }
1436 auto gandiva_node = gandiva::TreeExprBuilder::MakeAnd(gandiva_nodes);
1437 return GGANDIVA_AND_NODE(ggandiva_boolean_node_new_raw(&gandiva_node, children));
1438}
1439
1440G_DEFINE_TYPE(GGandivaOrNode, ggandiva_or_node, GGANDIVA_TYPE_BOOLEAN_NODE)
1441

Callers

nothing calls this directly

Calls 2

push_backMethod · 0.80

Tested by

no test coverage detected