Constructor
ArrowDurationScalarnew
since: 23.0.0
Declaration [src]
GArrowDurationScalar*
garrow_duration_scalar_new (
GArrowDurationDataType* data_type,
gint64 value
)
Parameters
data_type-
Type:
GArrowDurationDataTypeA
GArrowDurationDataTypefor this scalar.The data is owned by the caller of the function. value-
Type:
gint64The value of this scalar.
Return value
Type: GArrowDurationScalar
A newly created GArrowDurationScalar.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |