http://git-wip-us.apache.org/repos/asf/arrow-site/blob/4d4a3202/docs/c_glib/array-classes.html ---------------------------------------------------------------------- diff --git a/docs/c_glib/array-classes.html b/docs/c_glib/array-classes.html index 36de92d..66dbd9b 100644 --- a/docs/c_glib/array-classes.html +++ b/docs/c_glib/array-classes.html @@ -46,6 +46,30 @@ <GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> </td> <td class="function_name"> +<a class="link" href="array-classes.html#garrow-array-equal" title="garrow_array_equal ()">garrow_array_equal</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-array-equal-approx" title="garrow_array_equal_approx ()">garrow_array_equal_approx</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-array-equal-range" title="garrow_array_equal_range ()">garrow_array_equal_range</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> +</td> +<td class="function_name"> <a class="link" href="array-classes.html#garrow-array-is-null" title="garrow_array_is_null ()">garrow_array_is_null</a> <span class="c_punctuation">()</span> </td> </tr> @@ -107,6 +131,14 @@ </tr> <tr> <td class="function_type"> +<GTKDOCLINK HREF="gchar"><span class="returnvalue">gchar</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-array-to-string" title="garrow_array_to_string ()">garrow_array_to_string</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <a class="link" href="array-classes.html#GArrowNullArray"><span class="returnvalue">GArrowNullArray</span></a> * </td> <td class="function_name"> @@ -123,6 +155,14 @@ </tr> <tr> <td class="function_type"> +<a class="link" href="array-classes.html#GArrowBooleanArray"><span class="returnvalue">GArrowBooleanArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-boolean-array-new" title="garrow_boolean_array_new ()">garrow_boolean_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> </td> <td class="function_name"> @@ -131,6 +171,22 @@ </tr> <tr> <td class="function_type"> +<GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-boolean-array-get-values" title="garrow_boolean_array_get_values ()">garrow_boolean_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowInt8Array"><span class="returnvalue">GArrowInt8Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int8-array-new" title="garrow_int8_array_new ()">garrow_int8_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <GTKDOCLINK HREF="gint8"><span class="returnvalue">gint8</span></GTKDOCLINK> </td> <td class="function_name"> @@ -138,6 +194,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="gint8"><span class="returnvalue">gint8</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int8-array-get-values" title="garrow_int8_array_get_values ()">garrow_int8_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowUInt8Array"><span class="returnvalue">GArrowUInt8Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint8-array-new" title="garrow_uint8_array_new ()">garrow_uint8_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="guint8"><span class="returnvalue">guint8</span></GTKDOCLINK> </td> @@ -146,6 +217,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="guint8"><span class="returnvalue">guint8</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint8-array-get-values" title="garrow_uint8_array_get_values ()">garrow_uint8_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowInt16Array"><span class="returnvalue">GArrowInt16Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int16-array-new" title="garrow_int16_array_new ()">garrow_int16_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="gint16"><span class="returnvalue">gint16</span></GTKDOCLINK> </td> @@ -154,6 +240,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="gint16"><span class="returnvalue">gint16</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int16-array-get-values" title="garrow_int16_array_get_values ()">garrow_int16_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowUInt16Array"><span class="returnvalue">GArrowUInt16Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint16-array-new" title="garrow_uint16_array_new ()">garrow_uint16_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="guint16"><span class="returnvalue">guint16</span></GTKDOCLINK> </td> @@ -162,6 +263,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="guint16"><span class="returnvalue">guint16</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint16-array-get-values" title="garrow_uint16_array_get_values ()">garrow_uint16_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowInt32Array"><span class="returnvalue">GArrowInt32Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int32-array-new" title="garrow_int32_array_new ()">garrow_int32_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="gint32"><span class="returnvalue">gint32</span></GTKDOCLINK> </td> @@ -170,6 +286,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="gint32"><span class="returnvalue">gint32</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int32-array-get-values" title="garrow_int32_array_get_values ()">garrow_int32_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowUInt32Array"><span class="returnvalue">GArrowUInt32Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint32-array-new" title="garrow_uint32_array_new ()">garrow_uint32_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="guint32"><span class="returnvalue">guint32</span></GTKDOCLINK> </td> @@ -178,6 +309,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="guint32"><span class="returnvalue">guint32</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint32-array-get-values" title="garrow_uint32_array_get_values ()">garrow_uint32_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowInt64Array"><span class="returnvalue">GArrowInt64Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int64-array-new" title="garrow_int64_array_new ()">garrow_int64_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> </td> @@ -186,6 +332,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-int64-array-get-values" title="garrow_int64_array_get_values ()">garrow_int64_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowUInt64Array"><span class="returnvalue">GArrowUInt64Array</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint64-array-new" title="garrow_uint64_array_new ()">garrow_uint64_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="guint64"><span class="returnvalue">guint64</span></GTKDOCLINK> </td> @@ -194,6 +355,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="guint64"><span class="returnvalue">guint64</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-uint64-array-get-values" title="garrow_uint64_array_get_values ()">garrow_uint64_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowFloatArray"><span class="returnvalue">GArrowFloatArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-float-array-new" title="garrow_float_array_new ()">garrow_float_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="gfloat"><span class="returnvalue">gfloat</span></GTKDOCLINK> </td> @@ -202,6 +378,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="gfloat"><span class="returnvalue">gfloat</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-float-array-get-values" title="garrow_float_array_get_values ()">garrow_float_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowDoubleArray"><span class="returnvalue">GArrowDoubleArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-double-array-new" title="garrow_double_array_new ()">garrow_double_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="gdouble"><span class="returnvalue">gdouble</span></GTKDOCLINK> </td> @@ -210,6 +401,21 @@ </td> </tr> <tr> +<td class="function_type">const <GTKDOCLINK HREF="gdouble"><span class="returnvalue">gdouble</span></GTKDOCLINK> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-double-array-get-values" title="garrow_double_array_get_values ()">garrow_double_array_get_values</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowBinaryArray"><span class="returnvalue">GArrowBinaryArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-binary-array-new" title="garrow_binary_array_new ()">garrow_binary_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> <td class="function_type"> <GTKDOCLINK HREF="GBytes"><span class="returnvalue">GBytes</span></GTKDOCLINK> * </td> @@ -227,6 +433,22 @@ </tr> <tr> <td class="function_type"> +<a class="link" href="buffer-classes.html#GArrowBuffer"><span class="returnvalue">GArrowBuffer</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-binary-array-get-offsets-buffer" title="garrow_binary_array_get_offsets_buffer ()">garrow_binary_array_get_offsets_buffer</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> +<a class="link" href="array-classes.html#GArrowStringArray"><span class="returnvalue">GArrowStringArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-string-array-new" title="garrow_string_array_new ()">garrow_string_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <GTKDOCLINK HREF="gchar"><span class="returnvalue">gchar</span></GTKDOCLINK> * </td> <td class="function_name"> @@ -235,6 +457,14 @@ </tr> <tr> <td class="function_type"> +<a class="link" href="array-classes.html#GArrowListArray"><span class="returnvalue">GArrowListArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-list-array-new" title="garrow_list_array_new ()">garrow_list_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <a class="link" href="data-type-classes.html#GArrowDataType"><span class="returnvalue">GArrowDataType</span></a> * </td> <td class="function_name"> @@ -251,6 +481,14 @@ </tr> <tr> <td class="function_type"> +<a class="link" href="array-classes.html#GArrowStructArray"><span class="returnvalue">GArrowStructArray</span></a> * +</td> +<td class="function_name"> +<a class="link" href="array-classes.html#garrow-struct-array-new" title="garrow_struct_array_new ()">garrow_struct_array_new</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <a class="link" href="array-classes.html#GArrowArray"><span class="returnvalue">GArrowArray</span></a> * </td> <td class="function_name"> @@ -484,65 +722,81 @@ <a name="array-classes.description"></a><h2>Description</h2> <p><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> is a base class for all array classes such as <a class="link" href="array-classes.html#GArrowBooleanArray"><span class="type">GArrowBooleanArray</span></a>.</p> -<p>All array classes are immutable. You need to use array builder -class such as <a class="link" href="array-builder-classes.html#GArrowBooleanArrayBuilder"><span class="type">GArrowBooleanArrayBuilder</span></a> to create a new array -except <a class="link" href="array-classes.html#GArrowNullArray"><span class="type">GArrowNullArray</span></a>.</p> +<p>All array classes are immutable. You need to use binary data or +array builder to create a new array except <a class="link" href="array-classes.html#GArrowNullArray"><span class="type">GArrowNullArray</span></a>. If you +have binary data that uses Arrow format data, you can create a new +array with the binary data as <a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> object. If you don't +have binary data, you can use array builder class such as +<a class="link" href="array-builder-classes.html#GArrowBooleanArrayBuilder"><span class="type">GArrowBooleanArrayBuilder</span></a> that creates Arrow format data +internally and a new array from the data.</p> <p><a class="link" href="array-classes.html#GArrowNullArray"><span class="type">GArrowNullArray</span></a> is a class for null array. It can store zero or more null values. You need to specify an array length to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowBooleanArray"><span class="type">GArrowBooleanArray</span></a> is a class for binary array. It can store zero -or more boolean data. You need to use <a class="link" href="array-builder-classes.html#GArrowBooleanArrayBuilder"><span class="type">GArrowBooleanArrayBuilder</span></a> to -create a new array.</p> +or more boolean data. If you don't have Arrow format data, you need +to use <a class="link" href="array-builder-classes.html#GArrowBooleanArrayBuilder"><span class="type">GArrowBooleanArrayBuilder</span></a> to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowInt8Array"><span class="type">GArrowInt8Array</span></a> is a class for 8-bit integer array. It can store -zero or more 8-bit integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowInt8ArrayBuilder"><span class="type">GArrowInt8ArrayBuilder</span></a> to create a new array.</p> +zero or more 8-bit integer data. If you don't have Arrow format +data, you need to use <a class="link" href="array-builder-classes.html#GArrowInt8ArrayBuilder"><span class="type">GArrowInt8ArrayBuilder</span></a> to create a new +array.</p> <p><a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a> is a class for 8-bit unsigned integer array. It -can store zero or more 8-bit unsigned integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowUInt8ArrayBuilder"><span class="type">GArrowUInt8ArrayBuilder</span></a> to create a new array.</p> +can store zero or more 8-bit unsigned integer data. If you don't +have Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowUInt8ArrayBuilder"><span class="type">GArrowUInt8ArrayBuilder</span></a> to +create a new array.</p> <p><a class="link" href="array-classes.html#GArrowInt16Array"><span class="type">GArrowInt16Array</span></a> is a class for 16-bit integer array. It can store -zero or more 16-bit integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowInt16ArrayBuilder"><span class="type">GArrowInt16ArrayBuilder</span></a> to create a new array.</p> +zero or more 16-bit integer data. If you don't have Arrow format +data, you need to use <a class="link" href="array-builder-classes.html#GArrowInt16ArrayBuilder"><span class="type">GArrowInt16ArrayBuilder</span></a> to create a new +array.</p> <p><a class="link" href="array-classes.html#GArrowUInt16Array"><span class="type">GArrowUInt16Array</span></a> is a class for 16-bit unsigned integer array. It -can store zero or more 16-bit unsigned integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowUInt16ArrayBuilder"><span class="type">GArrowUInt16ArrayBuilder</span></a> to create a new array.</p> +can store zero or more 16-bit unsigned integer data. If you don't +have Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowUInt16ArrayBuilder"><span class="type">GArrowUInt16ArrayBuilder</span></a> +to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowInt32Array"><span class="type">GArrowInt32Array</span></a> is a class for 32-bit integer array. It can store -zero or more 32-bit integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowInt32ArrayBuilder"><span class="type">GArrowInt32ArrayBuilder</span></a> to create a new array.</p> +zero or more 32-bit integer data. If you don't have Arrow format +data, you need to use <a class="link" href="array-builder-classes.html#GArrowInt32ArrayBuilder"><span class="type">GArrowInt32ArrayBuilder</span></a> to create a new +array.</p> <p><a class="link" href="array-classes.html#GArrowUInt32Array"><span class="type">GArrowUInt32Array</span></a> is a class for 32-bit unsigned integer array. It -can store zero or more 32-bit unsigned integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowUInt32ArrayBuilder"><span class="type">GArrowUInt32ArrayBuilder</span></a> to create a new array.</p> +can store zero or more 32-bit unsigned integer data. If you don't +have Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowUInt32ArrayBuilder"><span class="type">GArrowUInt32ArrayBuilder</span></a> +to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowInt64Array"><span class="type">GArrowInt64Array</span></a> is a class for 64-bit integer array. It can store -zero or more 64-bit integer data. You need to use -<a class="link" href="array-builder-classes.html#GArrowInt64ArrayBuilder"><span class="type">GArrowInt64ArrayBuilder</span></a> to create a new array.</p> +zero or more 64-bit integer data. If you don't have Arrow format +data, you need to use <a class="link" href="array-builder-classes.html#GArrowInt64ArrayBuilder"><span class="type">GArrowInt64ArrayBuilder</span></a> to create a new +array.</p> <p><a class="link" href="array-classes.html#GArrowUInt64Array"><span class="type">GArrowUInt64Array</span></a> is a class for 64-bit unsigned integer array. It -can store zero or more 64-bit unsigned integer data. You need to -use <a class="link" href="array-builder-classes.html#GArrowUInt64ArrayBuilder"><span class="type">GArrowUInt64ArrayBuilder</span></a> to create a new array.</p> +can store zero or more 64-bit unsigned integer data. If you don't +have Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowUInt64ArrayBuilder"><span class="type">GArrowUInt64ArrayBuilder</span></a> +to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowFloatArray"><span class="type">GArrowFloatArray</span></a> is a class for 32-bit floating point array. It -can store zero or more 32-bit floating data. You need to use -<a class="link" href="array-builder-classes.html#GArrowFloatArrayBuilder"><span class="type">GArrowFloatArrayBuilder</span></a> to create a new array.</p> +can store zero or more 32-bit floating data. If you don't have +Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowFloatArrayBuilder"><span class="type">GArrowFloatArrayBuilder</span></a> to +create a new array.</p> <p><a class="link" href="array-classes.html#GArrowDoubleArray"><span class="type">GArrowDoubleArray</span></a> is a class for 64-bit floating point array. It -can store zero or more 64-bit floating data. You need to use -<a class="link" href="array-builder-classes.html#GArrowDoubleArrayBuilder"><span class="type">GArrowDoubleArrayBuilder</span></a> to create a new array.</p> -<p><a class="link" href="array-classes.html#GArrowBinaryArray"><span class="type">GArrowBinaryArray</span></a> is a class for binary array. It can store zero -or more binary data. You need to use <a class="link" href="array-builder-classes.html#GArrowBinaryArrayBuilder"><span class="type">GArrowBinaryArrayBuilder</span></a> to +can store zero or more 64-bit floating data. If you don't have +Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowDoubleArrayBuilder"><span class="type">GArrowDoubleArrayBuilder</span></a> to create a new array.</p> +<p><a class="link" href="array-classes.html#GArrowBinaryArray"><span class="type">GArrowBinaryArray</span></a> is a class for binary array. It can store zero +or more binary data. If you don't have Arrow format data, you need +to use <a class="link" href="array-builder-classes.html#GArrowBinaryArrayBuilder"><span class="type">GArrowBinaryArrayBuilder</span></a> to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowStringArray"><span class="type">GArrowStringArray</span></a> is a class for UTF-8 encoded string array. It -can store zero or more UTF-8 encoded string data. You need to use -<a class="link" href="array-builder-classes.html#GArrowStringArrayBuilder"><span class="type">GArrowStringArrayBuilder</span></a> to create a new array.</p> +can store zero or more UTF-8 encoded string data. If you don't have +Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowStringArrayBuilder"><span class="type">GArrowStringArrayBuilder</span></a> to +create a new array.</p> <p><a class="link" href="array-classes.html#GArrowListArray"><span class="type">GArrowListArray</span></a> is a class for list array. It can store zero or -more list data. You need to use <a class="link" href="array-builder-classes.html#GArrowListArrayBuilder"><span class="type">GArrowListArrayBuilder</span></a> to create a -new array.</p> +more list data. If you don't have Arrow format data, you need to +use <a class="link" href="array-builder-classes.html#GArrowListArrayBuilder"><span class="type">GArrowListArrayBuilder</span></a> to create a new array.</p> <p><a class="link" href="array-classes.html#GArrowStructArray"><span class="type">GArrowStructArray</span></a> is a class for struct array. It can store zero -or more structs. One struct has zero or more fields. You need to -use <a class="link" href="array-builder-classes.html#GArrowStructArrayBuilder"><span class="type">GArrowStructArrayBuilder</span></a> to create a new array.</p> +or more structs. One struct has zero or more fields. If you don't +have Arrow format data, you need to use <a class="link" href="array-builder-classes.html#GArrowStructArrayBuilder"><span class="type">GArrowStructArrayBuilder</span></a> +to create a new array.</p> </div> <div class="refsect1"> <a name="array-classes.functions_details"></a><h2>Functions</h2> <div class="refsect2"> -<a name="garrow-array-is-null"></a><h3>garrow_array_is_null ()</h3> +<a name="garrow-array-equal"></a><h3>garrow_array_equal ()</h3> <pre class="programlisting"><GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> -garrow_array_is_null (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>, - <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +garrow_array_equal (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>, + <em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *other_array</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.2.2.27.2.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -558,8 +812,8 @@ garrow_array_is_null (<em class="parameter"><code><a class="link" href="array-cl <td class="parameter_annotations"> </td> </tr> <tr> -<td class="parameter_name"><p>i</p></td> -<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_name"><p>other_array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> to be compared.</p></td> <td class="parameter_annotations"> </td> </tr> </tbody> @@ -567,16 +821,18 @@ garrow_array_is_null (<em class="parameter"><code><a class="link" href="array-cl </div> <div class="refsect3"> <a name="id-1.2.2.2.27.2.5"></a><h4>Returns</h4> -<p> Whether the i-th value is null or not.</p> +<p> <GTKDOCLINK HREF="TRUE:CAPS"><code class="literal">TRUE</code></GTKDOCLINK> if both of them have the same data, <GTKDOCLINK HREF="FALSE:CAPS"><code class="literal">FALSE</code></GTKDOCLINK> +otherwise.</p> <p></p> </div> -<p class="since">Since 0.3.0</p> +<p class="since">Since 0.4.0</p> </div> <hr> <div class="refsect2"> -<a name="garrow-array-get-length"></a><h3>garrow_array_get_length ()</h3> -<pre class="programlisting"><GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> -garrow_array_get_length (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<a name="garrow-array-equal-approx"></a><h3>garrow_array_equal_approx ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> +garrow_array_equal_approx (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>, + <em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *other_array</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.2.2.27.3.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -585,24 +841,37 @@ garrow_array_get_length (<em class="parameter"><code><a class="link" href="array <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> -<tbody><tr> +<tbody> +<tr> <td class="parameter_name"><p>array</p></td> <td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> <td class="parameter_annotations"> </td> -</tr></tbody> +</tr> +<tr> +<td class="parameter_name"><p>other_array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> to be compared.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> </table></div> </div> <div class="refsect3"> <a name="id-1.2.2.2.27.3.5"></a><h4>Returns</h4> -<p> The number of rows in the array.</p> +<p> <GTKDOCLINK HREF="TRUE:CAPS"><code class="literal">TRUE</code></GTKDOCLINK> if both of them have the approx same data, <GTKDOCLINK HREF="FALSE:CAPS"><code class="literal">FALSE</code></GTKDOCLINK> +otherwise.</p> <p></p> </div> +<p class="since">Since 0.4.0</p> </div> <hr> <div class="refsect2"> -<a name="garrow-array-get-offset"></a><h3>garrow_array_get_offset ()</h3> -<pre class="programlisting"><GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> -garrow_array_get_offset (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<a name="garrow-array-equal-range"></a><h3>garrow_array_equal_range ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> +garrow_array_equal_range (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> start_index</code></em>, + <em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *other_array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> other_start_index</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> end_index</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.2.2.27.4.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -611,24 +880,58 @@ garrow_array_get_offset (<em class="parameter"><code><a class="link" href="array <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> -<tbody><tr> +<tbody> +<tr> <td class="parameter_name"><p>array</p></td> <td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> <td class="parameter_annotations"> </td> -</tr></tbody> +</tr> +<tr> +<td class="parameter_name"><p>start_index</p></td> +<td class="parameter_description"><p>The start index of <em class="parameter"><code>array</code></em> +to be used.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>other_array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> to be compared.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>other_start_index</p></td> +<td class="parameter_description"><p>The start index of <em class="parameter"><code>other_array</code></em> +to be used.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>end_index</p></td> +<td class="parameter_description"><p>The end index of <em class="parameter"><code>array</code></em> +to be used. The end index of +<em class="parameter"><code>other_array</code></em> +is "<em class="parameter"><code>other_start_index</code></em> ++ (<em class="parameter"><code>end_index</code></em> +- +<em class="parameter"><code>start_index</code></em> +)".</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> </table></div> </div> <div class="refsect3"> <a name="id-1.2.2.2.27.4.5"></a><h4>Returns</h4> -<p> The number of values in the array.</p> +<p> <GTKDOCLINK HREF="TRUE:CAPS"><code class="literal">TRUE</code></GTKDOCLINK> if both of them have the same data in the range, +<GTKDOCLINK HREF="FALSE:CAPS"><code class="literal">FALSE</code></GTKDOCLINK> otherwise.</p> <p></p> </div> +<p class="since">Since 0.4.0</p> </div> <hr> <div class="refsect2"> -<a name="garrow-array-get-n-nulls"></a><h3>garrow_array_get_n_nulls ()</h3> -<pre class="programlisting"><GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> -garrow_array_get_n_nulls (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<a name="garrow-array-is-null"></a><h3>garrow_array_is_null ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> +garrow_array_is_null (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.2.2.27.5.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -637,24 +940,32 @@ garrow_array_get_n_nulls (<em class="parameter"><code><a class="link" href="arra <col class="parameters_description"> <col width="200px" class="parameters_annotations"> </colgroup> -<tbody><tr> +<tbody> +<tr> <td class="parameter_name"><p>array</p></td> <td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> <td class="parameter_annotations"> </td> -</tr></tbody> +</tr> +<tr> +<td class="parameter_name"><p>i</p></td> +<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> </table></div> </div> <div class="refsect3"> <a name="id-1.2.2.2.27.5.5"></a><h4>Returns</h4> -<p> The number of NULLs in the array.</p> +<p> Whether the i-th value is null or not.</p> <p></p> </div> +<p class="since">Since 0.3.0</p> </div> <hr> <div class="refsect2"> -<a name="garrow-array-get-null-bitmap"></a><h3>garrow_array_get_null_bitmap ()</h3> -<pre class="programlisting"><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="returnvalue">GArrowBuffer</span></a> * -garrow_array_get_null_bitmap (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<a name="garrow-array-get-length"></a><h3>garrow_array_get_length ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> +garrow_array_get_length (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> <div class="refsect3"> <a name="id-1.2.2.2.27.6.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> @@ -672,6 +983,84 @@ garrow_array_get_null_bitmap (<em class="parameter"><code><a class="link" href=" </div> <div class="refsect3"> <a name="id-1.2.2.2.27.6.5"></a><h4>Returns</h4> +<p> The number of rows in the array.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-array-get-offset"></a><h3>garrow_array_get_offset ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> +garrow_array_get_offset (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.7.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.7.5"></a><h4>Returns</h4> +<p> The number of values in the array.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-array-get-n-nulls"></a><h3>garrow_array_get_n_nulls ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gint64"><span class="returnvalue">gint64</span></GTKDOCLINK> +garrow_array_get_n_nulls (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.8.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.8.5"></a><h4>Returns</h4> +<p> The number of NULLs in the array.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-array-get-null-bitmap"></a><h3>garrow_array_get_null_bitmap ()</h3> +<pre class="programlisting"><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="returnvalue">GArrowBuffer</span></a> * +garrow_array_get_null_bitmap (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.9.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.9.5"></a><h4>Returns</h4> <p> The bitmap that indicates null value indexes for the array as <a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> when <a class="link" href="array-classes.html#garrow-array-get-n-nulls" title="garrow_array_get_n_nulls ()"><code class="function">garrow_array_get_n_nulls()</code></a> returns 0. </p> @@ -685,7 +1074,7 @@ value indexes for the array as <a class="link" href="buffer-classes.html#GArrowB <pre class="programlisting"><a class="link" href="data-type-classes.html#GArrowDataType"><span class="returnvalue">GArrowDataType</span></a> * garrow_array_get_value_data_type (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.7.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.10.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -700,7 +1089,7 @@ garrow_array_get_value_data_type (<em class="parameter"><code><a class="link" hr </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.7.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.10.5"></a><h4>Returns</h4> <p> The <a class="link" href="data-type-classes.html#GArrowDataType"><span class="type">GArrowDataType</span></a> for each value of the array. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> @@ -713,7 +1102,7 @@ array. </p> <pre class="programlisting"><a class="link" href="arrow-glib-GArrowType.html#GArrowType" title="enum GArrowType"><span class="returnvalue">GArrowType</span></a> garrow_array_get_value_type (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.8.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.11.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -728,7 +1117,7 @@ garrow_array_get_value_type (<em class="parameter"><code><a class="link" href="a </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.8.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.11.5"></a><h4>Returns</h4> <p> The <a class="link" href="arrow-glib-GArrowType.html#GArrowType" title="enum GArrowType"><span class="type">GArrowType</span></a> for each value of the array.</p> <p></p> </div> @@ -742,7 +1131,7 @@ garrow_array_slice (<em class="parameter"><code><a class="link" href="array-clas <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> offset</code></em>, <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.9.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.12.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -769,7 +1158,7 @@ garrow_array_slice (<em class="parameter"><code><a class="link" href="array-clas </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.9.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.12.5"></a><h4>Returns</h4> <p> The sub <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>. It covers only from <code class="literal">offset</code> to <code class="literal">offset + length</code> range. The sub <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> shares values with the base <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>. </p> @@ -778,11 +1167,48 @@ values with the base <a class="link" href="array-classes.html#GArrowArray"><span </div> <hr> <div class="refsect2"> +<a name="garrow-array-to-string"></a><h3>garrow_array_to_string ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gchar"><span class="returnvalue">gchar</span></GTKDOCLINK> * +garrow_array_to_string (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="GError"><span class="type">GError</span></GTKDOCLINK> **error</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.13.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowArray"><span class="type">GArrowArray</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>error</p></td> +<td class="parameter_description"><p> Return location for a <GTKDOCLINK HREF="GError"><span class="type">GError</span></GTKDOCLINK> or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK>. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.13.5"></a><h4>Returns</h4> +<p> The formatted array content or <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> on error.</p> +<p> The returned string should be freed when with <GTKDOCLINK HREF="g-free"><code class="function">g_free()</code></GTKDOCLINK> when no +longer needed. </p> +<p><span class="annotation">[nullable]</span></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> <a name="garrow-null-array-new"></a><h3>garrow_null_array_new ()</h3> <pre class="programlisting"><a class="link" href="array-classes.html#GArrowNullArray"><span class="returnvalue">GArrowNullArray</span></a> * garrow_null_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.10.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.14.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -797,7 +1223,7 @@ garrow_null_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><sp </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.10.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.14.5"></a><h4>Returns</h4> <p> A newly created <a class="link" href="array-classes.html#GArrowNullArray"><span class="type">GArrowNullArray</span></a>.</p> <p></p> </div> @@ -808,7 +1234,7 @@ garrow_null_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><sp <pre class="programlisting"><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="returnvalue">GArrowBuffer</span></a> * garrow_primitive_array_get_buffer (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowPrimitiveArray"><span class="type">GArrowPrimitiveArray</span></a> *array</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.11.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.15.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -823,19 +1249,72 @@ garrow_primitive_array_get_buffer (<em class="parameter"><code><a class="link" h </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.11.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.15.5"></a><h4>Returns</h4> <p> The data of the array as <a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a>. </p> <p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p> </div> </div> <hr> <div class="refsect2"> +<a name="garrow-boolean-array-new"></a><h3>garrow_boolean_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowBooleanArray"><span class="returnvalue">GArrowBooleanArray</span></a> * +garrow_boolean_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.16.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.16.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowBooleanArray"><span class="type">GArrowBooleanArray</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> <a name="garrow-boolean-array-get-value"></a><h3>garrow_boolean_array_get_value ()</h3> <pre class="programlisting"><GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> garrow_boolean_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowBooleanArray"><span class="type">GArrowBooleanArray</span></a> *array</code></em>, <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.12.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.17.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -857,19 +1336,107 @@ garrow_boolean_array_get_value (<em class="parameter"><code><a class="link" href </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.12.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.17.5"></a><h4>Returns</h4> <p> The i-th value.</p> <p></p> </div> </div> <hr> <div class="refsect2"> +<a name="garrow-boolean-array-get-values"></a><h3>garrow_boolean_array_get_values ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gboolean"><span class="returnvalue">gboolean</span></GTKDOCLINK> * +garrow_boolean_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowBooleanArray"><span class="type">GArrowBooleanArray</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.18.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowBooleanArray"><span class="type">GArrowBooleanArray</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p> The number of values. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.18.5"></a><h4>Returns</h4> +<p> The raw boolean values.</p> +<p> It should be freed with <GTKDOCLINK HREF="g-free"><code class="function">g_free()</code></GTKDOCLINK> when no longer needed. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int8-array-new"></a><h3>garrow_int8_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowInt8Array"><span class="returnvalue">GArrowInt8Array</span></a> * +garrow_int8_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.19.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.19.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowInt8Array"><span class="type">GArrowInt8Array</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> <a name="garrow-int8-array-get-value"></a><h3>garrow_int8_array_get_value ()</h3> <pre class="programlisting"><GTKDOCLINK HREF="gint8"><span class="returnvalue">gint8</span></GTKDOCLINK> garrow_int8_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowInt8Array"><span class="type">GArrowInt8Array</span></a> *array</code></em>, <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> <div class="refsect3"> -<a name="id-1.2.2.2.27.13.4"></a><h4>Parameters</h4> +<a name="id-1.2.2.2.27.20.4"></a><h4>Parameters</h4> <div class="informaltable"><table width="100%" border="0"> <colgroup> <col width="150px" class="parameters_name"> @@ -891,19 +1458,832 @@ garrow_int8_array_get_value (<em class="parameter"><code><a class="link" href="a </table></div> </div> <div class="refsect3"> -<a name="id-1.2.2.2.27.13.5"></a><h4>Returns</h4> +<a name="id-1.2.2.2.27.20.5"></a><h4>Returns</h4> <p> The i-th value.</p> <p></p> </div> </div> <hr> <div class="refsect2"> -<a name="garrow-uint8-array-get-value"></a><h3>garrow_uint8_array_get_value ()</h3> -<pre class="programlisting"><GTKDOCLINK HREF="guint8"><span class="returnvalue">guint8</span></GTKDOCLINK> -garrow_uint8_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a> *array</code></em>, - <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +<a name="garrow-int8-array-get-values"></a><h3>garrow_int8_array_get_values ()</h3> +<pre class="programlisting">const <GTKDOCLINK HREF="gint8"><span class="returnvalue">gint8</span></GTKDOCLINK> * +garrow_int8_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowInt8Array"><span class="type">GArrowInt8Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.21.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowInt8Array"><span class="type">GArrowInt8Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p> The number of values. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.21.5"></a><h4>Returns</h4> +<p> The raw values. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint8-array-new"></a><h3>garrow_uint8_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowUInt8Array"><span class="returnvalue">GArrowUInt8Array</span></a> * +garrow_uint8_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.22.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.22.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint8-array-get-value"></a><h3>garrow_uint8_array_get_value ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="guint8"><span class="returnvalue">guint8</span></GTKDOCLINK> +garrow_uint8_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.23.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>i</p></td> +<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.23.5"></a><h4>Returns</h4> +<p> The i-th value.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint8-array-get-values"></a><h3>garrow_uint8_array_get_values ()</h3> +<pre class="programlisting">const <GTKDOCLINK HREF="guint8"><span class="returnvalue">guint8</span></GTKDOCLINK> * +garrow_uint8_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.24.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowUInt8Array"><span class="type">GArrowUInt8Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p> The number of values. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.24.5"></a><h4>Returns</h4> +<p> The raw values. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int16-array-new"></a><h3>garrow_int16_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowInt16Array"><span class="returnvalue">GArrowInt16Array</span></a> * +garrow_int16_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.25.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.25.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowInt16Array"><span class="type">GArrowInt16Array</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int16-array-get-value"></a><h3>garrow_int16_array_get_value ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gint16"><span class="returnvalue">gint16</span></GTKDOCLINK> +garrow_int16_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowInt16Array"><span class="type">GArrowInt16Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.26.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowInt16Array"><span class="type">GArrowInt16Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>i</p></td> +<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.26.5"></a><h4>Returns</h4> +<p> The i-th value.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int16-array-get-values"></a><h3>garrow_int16_array_get_values ()</h3> +<pre class="programlisting">const <GTKDOCLINK HREF="gint16"><span class="returnvalue">gint16</span></GTKDOCLINK> * +garrow_int16_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowInt16Array"><span class="type">GArrowInt16Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.27.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowInt16Array"><span class="type">GArrowInt16Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p> The number of values. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.27.5"></a><h4>Returns</h4> +<p> The raw values. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint16-array-new"></a><h3>garrow_uint16_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowUInt16Array"><span class="returnvalue">GArrowUInt16Array</span></a> * +garrow_uint16_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.28.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.28.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowUInt16Array"><span class="type">GArrowUInt16Array</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint16-array-get-value"></a><h3>garrow_uint16_array_get_value ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="guint16"><span class="returnvalue">guint16</span></GTKDOCLINK> +garrow_uint16_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt16Array"><span class="type">GArrowUInt16Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.29.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowUInt16Array"><span class="type">GArrowUInt16Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>i</p></td> +<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.29.5"></a><h4>Returns</h4> +<p> The i-th value.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint16-array-get-values"></a><h3>garrow_uint16_array_get_values ()</h3> +<pre class="programlisting">const <GTKDOCLINK HREF="guint16"><span class="returnvalue">guint16</span></GTKDOCLINK> * +garrow_uint16_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt16Array"><span class="type">GArrowUInt16Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.30.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowUInt16Array"><span class="type">GArrowUInt16Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p> The number of values. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.30.5"></a><h4>Returns</h4> +<p> The raw values. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int32-array-new"></a><h3>garrow_int32_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowInt32Array"><span class="returnvalue">GArrowInt32Array</span></a> * +garrow_int32_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.31.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.31.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowInt32Array"><span class="type">GArrowInt32Array</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int32-array-get-value"></a><h3>garrow_int32_array_get_value ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="gint32"><span class="returnvalue">gint32</span></GTKDOCLINK> +garrow_int32_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowInt32Array"><span class="type">GArrowInt32Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.32.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowInt32Array"><span class="type">GArrowInt32Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>i</p></td> +<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.32.5"></a><h4>Returns</h4> +<p> The i-th value.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-int32-array-get-values"></a><h3>garrow_int32_array_get_values ()</h3> +<pre class="programlisting">const <GTKDOCLINK HREF="gint32"><span class="returnvalue">gint32</span></GTKDOCLINK> * +garrow_int32_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowInt32Array"><span class="type">GArrowInt32Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.33.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowInt32Array"><span class="type">GArrowInt32Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p> The number of values. </p></td> +<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.33.5"></a><h4>Returns</h4> +<p> The raw values. </p> +<p><span class="annotation">[<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> length=length]</span></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint32-array-new"></a><h3>garrow_uint32_array_new ()</h3> +<pre class="programlisting"><a class="link" href="array-classes.html#GArrowUInt32Array"><span class="returnvalue">GArrowUInt32Array</span></a> * +garrow_uint32_array_new (<em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> length</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *data</code></em>, + <em class="parameter"><code><a class="link" href="buffer-classes.html#GArrowBuffer"><span class="type">GArrowBuffer</span></a> *null_bitmap</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> n_nulls</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.34.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p>The number of elements.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>data</p></td> +<td class="parameter_description"><p>The binary data in Arrow format of the array.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>null_bitmap</p></td> +<td class="parameter_description"><p> The bitmap that shows null elements. The +N-th element is null when the N-th bit is 0, not null otherwise. +If the array has no null elements, the bitmap must be <GTKDOCLINK HREF="NULL:CAPS"><code class="literal">NULL</code></GTKDOCLINK> and +<em class="parameter"><code>n_nulls</code></em> +is 0. </p></td> +<td class="parameter_annotations"><span class="annotation">[nullable]</span></td> +</tr> +<tr> +<td class="parameter_name"><p>n_nulls</p></td> +<td class="parameter_description"><p>The number of null elements. If -1 is specified, the +number of nulls are computed from <em class="parameter"><code>null_bitmap</code></em> +.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.34.5"></a><h4>Returns</h4> +<p> A newly created <a class="link" href="array-classes.html#GArrowUInt32Array"><span class="type">GArrowUInt32Array</span></a>.</p> +<p></p> +</div> +<p class="since">Since 0.4.0</p> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint32-array-get-value"></a><h3>garrow_uint32_array_get_value ()</h3> +<pre class="programlisting"><GTKDOCLINK HREF="guint32"><span class="returnvalue">guint32</span></GTKDOCLINK> +garrow_uint32_array_get_value (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt32Array"><span class="type">GArrowUInt32Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> i</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.35.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowUInt32Array"><span class="type">GArrowUInt32Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>i</p></td> +<td class="parameter_description"><p>The index of the target value.</p></td> +<td class="parameter_annotations"> </td> +</tr> +</tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="id-1.2.2.2.27.35.5"></a><h4>Returns</h4> +<p> The i-th value.</p> +<p></p> +</div> +</div> +<hr> +<div class="refsect2"> +<a name="garrow-uint32-array-get-values"></a><h3>garrow_uint32_array_get_values ()</h3> +<pre class="programlisting">const <GTKDOCLINK HREF="guint32"><span class="returnvalue">guint32</span></GTKDOCLINK> * +garrow_uint32_array_get_values (<em class="parameter"><code><a class="link" href="array-classes.html#GArrowUInt32Array"><span class="type">GArrowUInt32Array</span></a> *array</code></em>, + <em class="parameter"><code><GTKDOCLINK HREF="gint64"><span class="type">gint64</span></GTKDOCLINK> *length</code></em>);</pre> +<div class="refsect3"> +<a name="id-1.2.2.2.27.36.4"></a><h4>Parameters</h4> +<div class="informaltable"><table width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody> +<tr> +<td class="parameter_name"><p>array</p></td> +<td class="parameter_description"><p>A <a class="link" href="array-classes.html#GArrowUInt32Array"><span class="type">GArrowUInt32Array</span></a>.</p></td> +<td class="parameter_annotations"> </td> +</tr> +<tr> +<td class="parameter_name"><p>length</p></td> +<td class="parameter_description"><p
<TRUNCATED>