sparrow 0.3.0
|
Array of timestamps. More...
#include <timestamp_array.hpp>
Public Member Functions | |
timestamp_array (arrow_proxy) | |
template<class... Args> requires (mpl::excludes_copy_and_move_ctor_v<timestamp_array, Args...>) | |
timestamp_array (Args &&... args) | |
Construct a timestamp array with the passed range of values and an optional bitmap. | |
timestamp_array (const date::time_zone *timezone, std::initializer_list< inner_value_type > init, std::optional< std::string_view > name=std::nullopt, std::optional< std::string_view > metadata=std::nullopt) | |
![]() | |
auto | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable |
auto | insert_bitmap (const_bitmap_iterator pos, InputIt first, InputIt last) -> bitmap_iterator is_mutable |
Friends | |
class | timestamp_reference< self_type > |
Array of timestamps.
The type of the values in the array are timestamp
, whose duration/representation is known at compile time. The current implementation supports types whose size is known at compile time only.
As the other arrays in sparrow, timestamp_array<T>
provides an API as if it was holding nullable<T>
values instead of T
values.
Internally, the array contains a validity bitmap and a contiguous memory buffer holding the values.
T | the type of the values in the array. Must be one of these values: |
Definition at line 103 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::base_type = mutable_array_bitmap_base<self_type> |
Definition at line 108 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::bitmap_const_reference = typename base_type::bitmap_const_reference |
Definition at line 117 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::bitmap_iterator = typename base_type::bitmap_iterator |
Definition at line 118 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::bitmap_range = typename base_type::bitmap_range |
Definition at line 120 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::bitmap_reference = typename base_type::bitmap_reference |
Definition at line 116 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::bitmap_type = typename base_type::bitmap_type |
Definition at line 115 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::buffer_inner_const_value_iterator = pointer_iterator<const buffer_inner_value_type*> |
Definition at line 143 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::buffer_inner_value_iterator = pointer_iterator<buffer_inner_value_type*> |
Definition at line 142 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::buffer_inner_value_type = inner_value_type_duration::rep |
Definition at line 141 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::const_bitmap_iterator = typename base_type::const_bitmap_iterator |
Definition at line 119 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::const_bitmap_range = typename base_type::const_bitmap_range |
Definition at line 121 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::const_functor_type = typename inner_types::const_functor_type |
Definition at line 138 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::const_iterator = typename base_type::const_iterator |
Definition at line 135 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::const_reference = nullable<inner_const_reference, bitmap_const_reference> |
Definition at line 125 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::const_value_iterator = typename base_type::const_value_iterator |
Definition at line 132 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::difference_type = typename base_type::difference_type |
Definition at line 128 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::functor_type = typename inner_types::functor_type |
Definition at line 137 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::inner_const_reference = typename inner_types::inner_const_reference |
Definition at line 113 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::inner_reference = typename inner_types::inner_reference |
Definition at line 112 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::inner_types = array_inner_types<self_type> |
Definition at line 110 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::inner_value_type = typename inner_types::inner_value_type |
Definition at line 111 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::inner_value_type_duration = inner_value_type::duration |
Definition at line 140 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::iterator = typename base_type::iterator |
Definition at line 134 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::iterator_tag = typename base_type::iterator_tag |
Definition at line 129 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::reference = nullable<inner_reference, bitmap_reference> |
Definition at line 124 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::self_type = timestamp_array |
Definition at line 107 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::size_type = typename base_type::size_type |
Definition at line 127 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::value_iterator = typename base_type::value_iterator |
Definition at line 131 of file timestamp_array.hpp.
using sparrow::timestamp_array< T >::value_type = nullable<inner_value_type> |
Definition at line 123 of file timestamp_array.hpp.
|
explicit |
Definition at line 312 of file timestamp_array.hpp.
|
inlineexplicit |
Construct a timestamp array with the passed range of values and an optional bitmap.
The first argument is const date::time_zone*
. It is the timezone of the timestamps. The second argument can be any range of values as long as its value type is convertible to T
. The third argument can be:
true
. Definition at line 176 of file timestamp_array.hpp.
|
inline |
Definition at line 183 of file timestamp_array.hpp.
|
friend |
Definition at line 295 of file timestamp_array.hpp.