Constructor

ArrowDurationScalarnew

since: 23.0.0

Declaration [src]

GArrowDurationScalar*
garrow_duration_scalar_new (
  GArrowDurationDataType* data_type,
  gint64 value
)

Description

No description available.

Available since: 23.0.0

Parameters

data_type

Type: GArrowDurationDataType

A GArrowDurationDataType for this scalar.

The data is owned by the caller of the function.
value

Type: gint64

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