Constructor

GandivaIfNodenew

Declaration [src]

GGandivaIfNode*
ggandiva_if_node_new (
  GGandivaNode* condition_node,
  GGandivaNode* then_node,
  GGandivaNode* else_node,
  GArrowDataType* return_type,
  GError** error
)

Description

No description available.
Available since:0.12.0

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 GArrowDataType.

 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 GGandivaIfNode or NULL on error.

 The caller of the function takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.