|
sparrow 2.4.0
C++20 idiomatic APIs for the Apache Arrow Columnar Format
|
#include <list_value.hpp>
Public Types | |
| using | value_type = array_traits::value_type |
| using | const_reference = array_traits::const_reference |
| using | size_type = std::size_t |
| using | list_value_reverse_iterator = std::reverse_iterator<list_value_iterator> |
Public Member Functions | |
| list_value ()=default | |
| Default constructor creating an empty list view. | |
| list_value (const array *flat_array, size_type index_begin, size_type index_end) | |
| Constructs list view over specified array range. | |
| size_type | size () const |
| Gets the number of elements in the list. | |
| bool | empty () const |
| Checks if the list is empty. | |
| const_reference | operator[] (size_type i) const |
| Gets element at specified position without bounds checking. | |
| const_reference | front () const |
| Gets reference to the first element. | |
| const_reference | back () const |
| Gets reference to the last element. | |
| list_value_iterator | begin () |
| Gets iterator to the beginning of the list. | |
| list_value_iterator | begin () const |
| Gets const iterator to the beginning of the list. | |
| list_value_iterator | cbegin () const |
| Gets const iterator to the beginning of the list. | |
| list_value_iterator | end () |
| Gets iterator to the end of the list. | |
| list_value_iterator | end () const |
| Gets const iterator to the end of the list. | |
| list_value_iterator | cend () const |
| Gets const iterator to the end of the list. | |
| list_value_reverse_iterator | rbegin () |
| Gets reverse iterator to the beginning of reversed list. | |
| list_value_reverse_iterator | rbegin () const |
| Gets const reverse iterator to the beginning of reversed list. | |
| list_value_reverse_iterator | crbegin () const |
| Gets const reverse iterator to the beginning of reversed list. | |
| list_value_reverse_iterator | rend () |
| Gets reverse iterator to the end of reversed list. | |
| list_value_reverse_iterator | rend () const |
| Gets const reverse iterator to the end of reversed list. | |
| list_value_reverse_iterator | crend () const |
| Gets const reverse iterator to the end of reversed list. | |
Friends | |
| template<bool BIG> | |
| class | list_array_impl |
| template<bool BIG> | |
| class | list_view_array_impl |
| class | fixed_sized_list_array |
| template<class DERIVED> | |
| class | list_array_crtp_base |
Definition at line 138 of file list_value.hpp.
Definition at line 143 of file list_value.hpp.
| using sparrow::list_value::list_value_reverse_iterator = std::reverse_iterator<list_value_iterator> |
Definition at line 145 of file list_value.hpp.
| using sparrow::list_value::size_type = std::size_t |
Definition at line 144 of file list_value.hpp.
Definition at line 142 of file list_value.hpp.
|
default |
| sparrow::list_value::list_value | ( | const array * | flat_array, |
| size_type | index_begin, | ||
| size_type | index_end ) |
Constructs list view over specified array range.
| flat_array | Pointer to the flattened array containing list data |
| index_begin | Starting index of the list (inclusive) |
| index_end | Ending index of the list (exclusive) |
|
nodiscard |
Gets reference to the last element.
|
nodiscard |
Gets iterator to the beginning of the list.
|
nodiscard |
Gets const iterator to the beginning of the list.
|
nodiscard |
Gets const iterator to the beginning of the list.
|
nodiscard |
Gets const iterator to the end of the list.
|
nodiscard |
Gets const reverse iterator to the beginning of reversed list.
|
nodiscard |
Gets const reverse iterator to the end of reversed list.
|
nodiscard |
Checks if the list is empty.
|
nodiscard |
Gets iterator to the end of the list.
|
nodiscard |
Gets const iterator to the end of the list.
|
nodiscard |
Gets reference to the first element.
| const_reference sparrow::list_value::operator[] | ( | size_type | i | ) | const |
Gets element at specified position without bounds checking.
| i | Index of element to access |
|
nodiscard |
Gets reverse iterator to the beginning of reversed list.
|
nodiscard |
Gets const reverse iterator to the beginning of reversed list.
|
nodiscard |
Gets reverse iterator to the end of reversed list.
|
nodiscard |
Gets const reverse iterator to the end of reversed list.
|
nodiscard |
Gets the number of elements in the list.
|
friend |
Definition at line 385 of file list_value.hpp.
|
friend |
Definition at line 388 of file list_value.hpp.
|
friend |
Definition at line 380 of file list_value.hpp.
|
friend |
Definition at line 383 of file list_value.hpp.