Constructor
GandivaIfNodenew
Declaration [src]
GGandivaIfNode*
ggandiva_if_node_new (
GGandivaNode* condition_node,
GGandivaNode* then_node,
GGandivaNode* else_node,
GArrowDataType* return_type,
GError** error
)
Parameters
condition_node |
GGandivaNode |
The node with the condition for if-else expression. |
|
The data is owned by the caller of the function. | |
then_node |
GGandivaNode |
The node in case the condition node is true. |
|
The data is owned by the caller of the function. | |
else_node |
GGandivaNode |
The node in case the condition node is false. |
|
The data is owned by the caller of the function. | |
return_type |
GArrowDataType |
A |
|
The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |
Return value
Returns: | GGandivaIfNode |
A newly created |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL . |