Constructor
ArrowAggregateNodeOptionsnew
since: 6.0.0
Declaration [src]
GArrowAggregateNodeOptions*
garrow_aggregate_node_options_new (
GList* aggregations,
const gchar** keys,
gsize n_keys,
GError** error
)
Parameters
aggregations
-
Type: A list of
None
A list of
GArrowAggregation
.The data is owned by the caller of the function. keys
-
Type: An array of
gchar*
Group keys.
The argument can be NULL
.The length of the array is specified in the n_keys
argument.The data is owned by the caller of the function. Each element is a NUL terminated UTF-8 string. n_keys
-
Type:
gsize
The number of
keys
. error
-
Type:
GError **
The return location for a recoverable error.
The argument can be NULL
.If the return location is not NULL
, then you must initialize it to aNULL
GError*
.The argument will left initialized to NULL
by the constructor if there are no errors.In case of error, the argument will be set to a newly allocated GError
; the caller will take ownership of the data, and be responsible for freeing it.
Return value
Type: GArrowAggregateNodeOptions
A newly created GArrowAggregateNodeOptions
on success,
NULL
otherwise.
The caller of the function takes ownership of the data, and is responsible for freeing it. |
The return value can be NULL . |