Generic implementation for deserializing non-owning arrays with simple layout.
This function provides the common deserialization logic for array types that have a validity buffer and a single data buffer (e.g., primitive_array, interval_array).
- Template Parameters
-
| ArrayType | The array type template (e.g., sparrow::primitive_array) |
| T | The element type |
- Parameters
-
| record_batch | The FlatBuffer RecordBatch containing metadata |
| body | The raw buffer data |
| name | The array column name |
| metadata | Optional metadata pairs |
| nullable | Whether the array is nullable |
| buffer_index | The current buffer index (incremented by this function) |
- Returns
- The deserialized array of type ArrayType<T>
Definition at line 38 of file deserialize_array_impl.hpp.