Method
ArrowScalarcast
Declaration [src]
GArrowScalar*
garrow_scalar_cast (
GArrowScalar* scalar,
GArrowDataType* data_type,
GArrowCastOptions* options,
GError** error
)
Parameters
data_type |
GArrowDataType |
A |
|
| The data is owned by the caller of the function. | |
options |
GArrowCastOptions |
A |
|
The argument can be NULL. | |
| The data is owned by the caller of the function. | |
error |
GError ** |
The return location for a GError*, or NULL. |
Return value
| Returns: | GArrowScalar |
A newly created casted scalar on success, |
|
| The caller of the method takes ownership of the data, and is responsible for freeing it. | |
The return value can be NULL. |