sparrow ..
|
Namespaces | |
namespace | chrono |
namespace | detail |
namespace | details |
namespace | impl |
namespace | mpl |
namespace | predicate |
namespace | ranges |
Concepts | |
concept | layout_or_array |
concept | allocator |
concept | can_any_allocator_sbo |
concept | is_buffer_view |
concept | BufferReference |
Concept that checks if a type is a buffer reference suitable for adaptation. | |
concept | T_is_const_if_FromBufferRef_is_const |
Concept that ensures T is const if FromBufferRef is const. | |
concept | validity_bitmap_input |
Concept defining valid input types for validity bitmap creation. | |
concept | any_arrow_c_interface |
Matches only the C interface structs for Arrow. | |
concept | arrow_schema_or_ptr |
Matches ArrowSchema or a non-const pointer to an ArrowSchema . | |
concept | arrow_array_or_ptr |
Matches ArrowArray or a non-const pointer to an ArrowArray . | |
concept | date_type |
concept | duration_type |
concept | interval_type |
concept | layout |
Concept for layouts. | |
concept | iterator_types |
Concept for iterator types. | |
concept | trivial_copyable_type |
concept | timestamp_type |
concept | primitive_type |
concept | time_type |
concept | zoned_time_without_timezone_type |
concept | is_arrow_base_type |
Matches C++ representation types which are supported by default. | |
concept | is_arrow_base_type_extended |
Checks if a type is an extended base type for Arrow. | |
concept | is_arrow_traits |
Matches valid and complete arrow_traits specializations for type T. | |
concept | has_arrow_type_traits |
Matches types providing valid and complete arrow_traits specialization. | |
concept | any_arrow_type |
Matches any type which is one of the base C++ types supported or at least that provides an arrow_traits specialization. | |
concept | layout_offset |
concept | decimal_integer_type |
Concept for valid decimal integer backing types. | |
concept | decimal_type |
Concept for valid decimal types. | |
concept | RangeOfRanges |
concept | Format |
concept | RangeOfFormats |
concept | clonable |
Matches types that provide a clone method. | |
concept | input_metadata_container |
Concept for input containers that can provide metadata pairs. | |
concept | nullable_of |
concept | nullable_of_convertible_to |
concept | range_of_nullables |
concept | fixed_size_sequence_view |
Typedefs | |
using | validity_bitmap = dynamic_bitset<std::uint8_t> |
Type alias for a validity bitmap using 8-bit storage blocks. | |
using | date_types_t = mpl::typelist<date_days, date_milliseconds> |
template<date_type T> | |
using | date_array = primitive_array_impl<T> |
Array of std::chrono::duration values. | |
using | date_days_array = date_array<date_days> |
A date array for date_days values. | |
using | date_milliseconds_array = date_array<date_milliseconds> |
A date array for date_milliseconds values. | |
using | decimal_32_array = decimal_array<decimal<int32_t>> |
Type alias for 32-bit decimal array. | |
using | decimal_64_array = decimal_array<decimal<int64_t>> |
Type alias for 64-bit decimal array. | |
using | decimal_128_array = decimal_array<decimal<int128_t>> |
Type alias for 128-bit decimal array. | |
using | decimal_256_array = decimal_array<decimal<int256_t>> |
Type alias for 256-bit decimal array. | |
using | duration_types_t |
template<duration_type T> | |
using | duration_array = primitive_array_impl<T> |
Array of std::chrono::duration values. | |
using | duration_seconds_array = duration_array<std::chrono::seconds> |
A duration array for std::chrono::seconds values. | |
using | duration_milliseconds_array = duration_array<std::chrono::milliseconds> |
A duration array for std::chrono::milliseconds values. | |
using | duration_microseconds_array = duration_array<std::chrono::microseconds> |
A duration array for std::chrono::microseconds values. | |
using | duration_nanoseconds_array = duration_array<std::chrono::nanoseconds> |
A duration array for std::chrono::nanoseconds values. | |
using | fixed_width_binary_traits = arrow_traits<std::vector<byte_t>> |
using | fixed_width_binary_array |
using | interval_types_t = mpl::typelist<chrono::months, days_time_interval, month_day_nanoseconds_interval> |
template<interval_type T> | |
using | interval_array = primitive_array_impl<T> |
Array of interval values. | |
using | months_interval_array = interval_array<chrono::months> |
An interval array for std::chrono::months values. | |
using | days_time_interval_array = interval_array<days_time_interval> |
An interval array for days_time_interval values. | |
using | month_day_nanoseconds_interval_array = interval_array<month_day_nanoseconds_interval> |
An interval array for month_day_nanoseconds_interval values. | |
template<class D> | |
using | array_bitmap_base = array_bitmap_base_impl<D, false> |
Convenient alias for arrays with immutable validity bitmaps. | |
template<class D> | |
using | mutable_array_bitmap_base = array_bitmap_base_impl<D, true> |
Convenient alias for arrays with mutable validity bitmaps. | |
using | date_days = std::chrono::time_point<std::chrono::system_clock, chrono::days> |
using | date_milliseconds = std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds> |
template<class F> | |
using | visit_result_t = std::invoke_result_t<F, null_array> |
using | timestamp_types_t |
using | list_array = list_array_impl<false> |
A list array implementation. | |
using | big_list_array = list_array_impl<true> |
A big list array implementation. | |
using | list_view_array = list_view_array_impl<false> |
A list view array implementation. | |
using | big_list_view_array = list_view_array_impl<true> |
template<primitive_type T> | |
using | primitive_array = primitive_array_impl<T> |
Array of values of whose type has fixed binary size. | |
using | time_types_t |
template<time_type T> | |
using | time_array = primitive_array_impl<T> |
Array of time values. | |
using | time_seconds_array = time_array<chrono::time_seconds> |
A time array for std::chrono::time_seconds values. | |
using | time_milliseconds_array = time_array<chrono::time_milliseconds> |
A time array for std::chrono::time_milliseconds values. | |
using | time_microseconds_array = time_array<chrono::time_microseconds> |
A time array for std::chrono::time_microseconds values. | |
using | time_nanoseconds_array = time_array<chrono::time_nanoseconds> |
A time array for std::chrono::time_nanoseconds values. | |
using | timestamp_second = timestamp<std::chrono::seconds> |
Type aliases for common timestamp durations. | |
using | timestamp_millisecond = timestamp<std::chrono::milliseconds> |
using | timestamp_microsecond = timestamp<std::chrono::microseconds> |
using | timestamp_nanosecond = timestamp<std::chrono::nanoseconds> |
using | timestamp_seconds_array = timestamp_array<timestamp_second> |
Type aliases for timestamp arrays with common durations. | |
using | timestamp_milliseconds_array = timestamp_array<timestamp_millisecond> |
using | timestamp_microseconds_array = timestamp_array<timestamp_microsecond> |
using | timestamp_nanoseconds_array = timestamp_array<timestamp_nanosecond> |
using | zoned_time_without_timezone_types_t |
template<zoned_time_without_timezone_type T> | |
using | timestamp_without_timezone_array = primitive_array_impl<T> |
Array of timestamps without timezone. | |
using | timestamp_without_timezone_seconds_array = timestamp_without_timezone_array<zoned_time_without_timezone_seconds> |
A timestamp without timezone array for zoned_time_without_timezone_seconds values. | |
using | timestamp_without_timezone_milliseconds_array |
A timestamp without timezone array for zoned_time_without_timezone_milliseconds values. | |
using | timestamp_without_timezone_microseconds_array |
A timestamp without timezone array for zoned_time_without_timezone_microseconds values. | |
using | timestamp_without_timezone_nanoseconds_array |
A timestamp without timezone array for zoned_time_without_timezone_nanoseconds values. | |
using | float16_t = half_float::half |
using | float32_t = float |
using | float64_t = double |
template<typename Duration, typename TimeZonePtr = const date::time_zone*> | |
using | timestamp = date::zoned_time<Duration, TimeZonePtr> |
using | byte_t = std::byte |
using | all_base_types_t |
C++ types value representation types matching Arrow types. | |
using | all_base_types_extended_t = mpl::append_t<all_base_types_t, char, std::string_view> |
is arrow base type or arrow compound type (list<T>, struct<T> etc.) | |
template<class T> | |
using | get_corresponding_arrow_type_t = std::conditional_t<std::same_as<T, std::string_view>, std::string, T> |
Template alias to get the corresponding Arrow type for a given type. | |
template<has_arrow_type_traits T> | |
using | default_layout_t = typename arrow_traits<T>::default_layout |
Binary layout type to use by default for the given C++ representation T of an arrow value. | |
using | int128_t = primesum::int128_t |
using | int256_t = primesum::int256_t |
using | metadata_key = std::string |
Type alias for metadata keys. | |
using | metadata_key_const_reference = std::string_view |
using | metadata_value = std::string |
Type alias for metadata values. | |
using | metadata_value_const_reference = std::string_view |
using | metadata_pair = std::pair<metadata_key, metadata_value> |
Type alias for metadata key-value pairs. | |
using | metadata_pair_const_reference = std::pair<metadata_key_const_reference, metadata_value_const_reference> |
template<layout_offset OT> | |
using | string_array_impl |
template<layout_offset OT> | |
using | binary_array_impl |
using | string_array = string_array_impl<std::int32_t> |
Type alias for variable-size string arrays with 32-bit offsets. | |
using | big_string_array = string_array_impl<std::int64_t> |
Type alias for variable-size string arrays with 64-bit offsets. | |
using | binary_array = binary_array_impl<std::int32_t> |
Type alias for variable-size binary arrays with 32-bit offsets. | |
using | big_binary_array = binary_array_impl<std::int64_t> |
Type alias for variable-size binary arrays with 64-bit offsets. | |
using | string_view_array |
A variable-size string view layout implementation. | |
using | binary_view_array |
A variable-size binary view layout implementation. | |
Functions | |
template<layout_or_array A> | |
bool | owns_arrow_array (const A &a) |
Returns true if the given layout or array has ownership of its internal ArrowArray. | |
template<layout_or_array A> | |
bool | owns_arrow_schema (const A &a) |
Returns true if the given layout or array has ownership of its internal ArrowSchema. | |
template<layout_or_array A> | |
ArrowArray * | get_arrow_array (A &a) |
Returns a pointer to the internal ArrowArray of the given array or layout. | |
template<layout_or_array A> | |
ArrowSchema * | get_arrow_schema (A &a) |
Returns a pointer to the internal ArrowSchema of the given array or layout. | |
template<layout_or_array A> | |
std::pair< ArrowArray *, ArrowSchema * > | get_arrow_structures (A &a) |
Returns pointers to the internal ArrowArray and ArrowSchema of the given Array or layout. | |
template<layout_or_array A> | |
std::pair< const ArrowArray *, const ArrowSchema * > | get_arrow_structures (const A &a) |
Returns const pointers to the internal ArrowArray and ArrowSchema of the given Array or layout. | |
template<layout_or_array A> | |
ArrowArray | extract_arrow_array (A &&a) |
Extracts the internal ArrowArray structure from the given Array or typed layout. | |
template<layout_or_array A> | |
ArrowSchema | extract_arrow_schema (A &&a) |
Extracts the internal ArrowSchema structure from the given array or typed layout. | |
template<layout_or_array A> | |
std::pair< ArrowArray, ArrowSchema > | extract_arrow_structures (A &&a) |
Extracts the internal ArrowArray and ArrowSchema structures from the given array or typed layout. | |
SPARROW_API bool | operator== (const array &lhs, const array &rhs) |
Compares the content of two arrays. | |
template<class B, std::ranges::input_range CHILDREN_OWNERSHIP> requires std::constructible_from<arrow_array_private_data::BufferType, B> && std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool> | |
ArrowArray | make_arrow_array (int64_t length, int64_t null_count, int64_t offset, B buffers, ArrowArray **children, const CHILDREN_OWNERSHIP &children_ownership, ArrowArray *dictionary, bool dictionary_ownership) |
Creates an ArrowArray . | |
SPARROW_API void | release_arrow_array (ArrowArray *array) |
Release function to use for the ArrowArray.release member. | |
SPARROW_API void | empty_release_arrow_array (ArrowArray *array) |
Empty release function to use for the ArrowArray.release member. | |
template<class B, std::ranges::input_range CHILDREN_OWNERSHIP> requires ( std::constructible_from<arrow_array_private_data::BufferType, B> && std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool> ) | |
void | fill_arrow_array (ArrowArray &array, int64_t length, int64_t null_count, int64_t offset, B buffers, ArrowArray **children, const CHILDREN_OWNERSHIP &children_ownership, ArrowArray *dictionary, bool dictionary_ownership) |
Fill an ArrowArray object. | |
ArrowArray | make_empty_arrow_array () |
SPARROW_API sparrow::buffer_view< uint8_t > | get_bitmap_buffer (const ArrowArray &array) |
SPARROW_API std::vector< sparrow::buffer_view< uint8_t > > | get_arrow_array_buffers (const ArrowArray &array, const ArrowSchema &schema) |
SPARROW_API void | swap (ArrowArray &lhs, ArrowArray &rhs) |
Swaps the contents of the two ArrowArray objects. | |
SPARROW_API void | copy_array (const ArrowArray &source_array, const ArrowSchema &source_schema, ArrowArray &target) |
Fill the target ArrowArray with a deep copy of the data from the source ArrowArray. | |
ArrowArray | copy_array (const ArrowArray &source_array, const ArrowSchema &source_schema) |
Create a deep copy of the source ArrowArray. | |
ArrowArray | move_array (ArrowArray &&source) |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowArray. | |
ArrowArray | move_array (ArrowArray &source) |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowArray. | |
template<class T> requires std::same_as<T, ArrowArray> || std::same_as<T, ArrowSchema> | |
void | release_common_arrow (T &t) |
Release the children and dictionnary of an ArrowArray or ArrowSchema . | |
constexpr bool | has_bitmap (data_type dt) noexcept |
template<class T> | |
constexpr int64_t | ssize (const T &value) |
Get the size of a range, a tuple or an optional. | |
template<typename T, typename U> | |
constexpr T * | get_raw_ptr (U &var) |
Get a raw pointer from a smart pointer, a range, an object or a pointer. | |
template<class T, std::ranges::input_range Range, class Allocator = std::allocator<T*>> requires (!std::ranges::view<Range>) | |
constexpr std::vector< T *, Allocator > | to_raw_ptr_vec (Range &range) |
Create a vector of pointers to elements from a range. | |
template<class T, class Optional, class Allocator = std::allocator<T*>> requires (mpl::is_type_instance_of_v<Optional, std::optional>) | |
constexpr std::vector< T *, Allocator > | to_raw_ptr_vec (Optional &optional) |
Create a vector of pointers to elements from a std::optional<range>. | |
template<class T, class Tuple, class Allocator = std::allocator<T*>> requires mpl::is_type_instance_of_v<Tuple, std::tuple> | |
constexpr std::vector< T *, Allocator > | to_raw_ptr_vec (Tuple &tuple) |
Create a vector of pointers to elements of a tuple. | |
template<class T> requires std::same_as<T, std::nullopt_t> || (mpl::is_type_instance_of_v<T, std::optional> && mpl::testable<std::ranges::range_value_t<typename T::value_type>>) || (std::ranges::range<T> && mpl::testable<std::ranges::range_value_t<T>>) | |
constexpr bool | all_element_are_true (const T &elements) |
Check if all elements of a range or std::optional<range> are valid by caling their bool operator. | |
constexpr bool | is_valid_ArrowFlag_value (int64_t value) noexcept |
std::unordered_set< ArrowFlag > | to_set_of_ArrowFlags (int64_t flag_values) |
Converts a bitfield of ArrowFlag values to a set of ArrowFlag values. | |
int64_t | to_ArrowFlag_value (const std::unordered_set< ArrowFlag > &flags) |
Converts a vector of ArrowFlag values to a bitfield of ArrowFlag values. | |
template<class F, class N, input_metadata_container M = std::vector<metadata_pair>, std::ranges::input_range CHILDREN_OWNERSHIP> requires std::constructible_from<arrow_schema_private_data::FormatType, F> && std::constructible_from<arrow_schema_private_data::NameType, N> && std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool> | |
ArrowSchema | make_arrow_schema (F format, N name, std::optional< M > metadata, std::optional< std::unordered_set< ArrowFlag > > flags, ArrowSchema **children, const CHILDREN_OWNERSHIP &children_ownership, ArrowSchema *dictionary, bool dictionary_ownership) |
Creates an ArrowSchema owned by a unique_ptr and holding the provided data. | |
SPARROW_API void | release_arrow_schema (ArrowSchema *schema) |
Release function to use for the ArrowSchema.release member. | |
SPARROW_API void | empty_release_arrow_schema (ArrowSchema *schema) |
Empty release function to use for the ArrowSchema.release member. | |
template<class F, class N, input_metadata_container M = std::vector<metadata_pair>, std::ranges::input_range CHILDREN_OWNERSHIP> requires std::constructible_from<arrow_schema_private_data::FormatType, F> && std::constructible_from<arrow_schema_private_data::NameType, N> && std::is_same_v<std::ranges::range_value_t<CHILDREN_OWNERSHIP>, bool> | |
void | fill_arrow_schema (ArrowSchema &schema, F format, N name, std::optional< M > metadata, std::optional< std::unordered_set< ArrowFlag > > flags, ArrowSchema **children, const CHILDREN_OWNERSHIP &children_ownership, ArrowSchema *dictionary, bool dictionary_ownership) |
ArrowSchema | make_empty_arrow_schema () |
SPARROW_API void | swap (ArrowSchema &lhs, ArrowSchema &rhs) noexcept |
Swaps the contents of the two ArrowSchema objects. | |
SPARROW_API void | copy_schema (const ArrowSchema &source, ArrowSchema &target) |
Fills the target ArrowSchema with a deep copy of the data from the source ArrowSchema . | |
ArrowSchema | copy_schema (const ArrowSchema &source) |
Deep copy an ArrowSchema . | |
ArrowSchema | move_schema (ArrowSchema &&source) |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowSchema. | |
ArrowSchema | move_schema (ArrowSchema &source) |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowSchema. | |
template<class T> | |
constexpr std::optional< std::string > | to_optional_string (T &&t) |
template<class T> | |
constexpr bool | operator== (const any_allocator< T > &lhs, const any_allocator< T > &rhs) |
template<class T> | |
constexpr bool | operator== (const buffer< T > &lhs, const buffer< T > &rhs) noexcept |
template<typename To, class FromBufferRef> | |
auto | make_buffer_adaptor (FromBufferRef &buf) |
template<class T> | |
bool | operator== (const buffer_view< T > &lhs, const buffer_view< T > &rhs) |
template<class B1, class B2> | |
bool | operator== (const bitset_reference< B1 > &lhs, const bitset_reference< B2 > &rhs) |
Equality comparison between two bitset references. | |
template<class B> | |
bool | operator== (const bitset_reference< B > &lhs, bool rhs) |
Equality comparison between a bitset reference and a boolean value. | |
template<validity_bitmap_input R> | |
validity_bitmap | ensure_validity_bitmap (std::size_t size, R &&validity_input) |
Ensures a validity bitmap of the specified size from various input types. | |
template<class T, class... OPTION_FLAGS> | |
constexpr auto | build (T &&t, OPTION_FLAGS &&...) |
function to create a sparrow array from arbitrary nested combinations of ranges, tuples, and nullable types, variants. | |
template<class T, class... OPTION_FLAGS> | |
constexpr auto | build (std::initializer_list< T > t, OPTION_FLAGS &&... flags) |
template<class IT> | |
constexpr bool | operator== (const dictionary_encoded_array< IT > &lhs, const dictionary_encoded_array< IT > &rhs) |
Equality comparison operator for dictionary_encoded_array. | |
template<class D> | |
constexpr bool | operator== (const array_crtp_base< D > &lhs, const array_crtp_base< D > &rhs) |
SPARROW_API cloning_ptr< array_wrapper > | array_factory (arrow_proxy proxy) |
SPARROW_API std::size_t | array_size (const array_wrapper &ar) |
SPARROW_API bool | array_has_value (const array_wrapper &ar, std::size_t index) |
SPARROW_API array_traits::const_reference | array_element (const array_wrapper &ar, std::size_t index) |
SPARROW_API array_traits::inner_value_type | array_default_element_value (const array_wrapper &ar) |
template<class T> | |
T & | unwrap_array (array_wrapper &) |
template<class T> | |
const T & | unwrap_array (const array_wrapper &) |
template<class F> | |
visit_result_t< F > | visit (F &&func, const array_wrapper &ar) |
SPARROW_API std::size_t | num_bytes_for_fixed_sized_binary (std::string_view format) |
Get the number of bytes for a fixed width binary layout from the ArrowArray format string. | |
constexpr bool | operator== (const days_time_interval &lhs, const days_time_interval &rhs) |
constexpr bool | operator== (const month_day_nanoseconds_interval &lhs, const month_day_nanoseconds_interval &rhs) |
SPARROW_API bool | operator== (const list_value &lhs, const list_value &rhs) |
Equality comparison operator for list_value objects. | |
SPARROW_API bool | operator== (const map_value &lhs, const map_value &rhs) |
SPARROW_API bool | operator== (const struct_value &lhs, const struct_value &rhs) |
SPARROW_API bool | operator== (const null_array &lhs, const null_array &rhs) |
Equality comparison operator for null arrays. | |
SPARROW_API bool | operator== (const record_batch &lhs, const record_batch &rhs) |
Compares two record_batch objects for equality. | |
SPARROW_API bool | operator== (const run_end_encoded_array &lhs, const run_end_encoded_array &rhs) |
constexpr bool | operator== (const null_type &, const null_type &) noexcept |
constexpr bool | all_digits (const std::string_view s) |
SPARROW_API std::size_t | num_bytes_for_decimal (const char *format) |
constexpr data_type | format_to_data_type (std::string_view format) |
template<std::floating_point T> requires (sizeof(T) >= 2 && sizeof(T) <= 8) | |
constexpr data_type | data_type_from_size (T={}) noexcept |
template<std::integral T> requires (sizeof(T) >= 1 && sizeof(T) <= 8) | |
constexpr data_type | data_type_from_size (T={}) noexcept |
constexpr std::string_view | data_type_to_format (data_type type) |
constexpr bool | data_type_is_primitive (data_type dt) noexcept |
constexpr bool | data_type_is_integer (data_type dt) noexcept |
template<class D> | |
constexpr bool | operator== (const union_array_crtp_base< D > &lhs, const union_array_crtp_base< D > &rhs) |
Equality comparison operator for union arrays. | |
template<std::integral T> | |
constexpr T | byteswap (T value) noexcept |
Reverses the bytes in the given integer value. | |
template<std::endian input_value_endianess> | |
constexpr auto | to_native_endian (std::integral auto value) noexcept |
template<std::ranges::range R> requires std::ranges::sized_range<std::ranges::range_value_t<R>> | |
size_t | number_of_bytes (const R &ranges) |
template<std::ranges::range R> requires (std::ranges::sized_range<std::ranges::range_value_t<R>>) | |
buffer< uint8_t > | strings_to_buffer (R &&strings) |
template<std::ranges::range R> requires (std::is_arithmetic_v<std::ranges::range_value_t<R>>) | |
buffer< uint8_t > | range_to_buffer (R &&range) |
constexpr size_t | max_width (const std::ranges::input_range auto &data) |
template<RangeOfRanges Columns> | |
constexpr std::vector< size_t > | columns_widths (const Columns &columns) |
template<typename OutputIt, std::ranges::input_range Widths, std::ranges::input_range Values> requires (std::same_as<std::ranges::range_value_t<Widths>, size_t>) | |
constexpr void | to_row (OutputIt out, const Widths &widths, const Values &values, std::string_view separator="|") |
template<typename OutputIt> | |
constexpr void | horizontal_separator (OutputIt out, const std::vector< size_t > &widths, std::string_view separator="-") |
template<std::ranges::input_range Headers, RangeOfRanges Columns, typename OutputIt> requires (std::convertible_to<std::ranges::range_value_t<Headers>, std::string>) | |
constexpr void | to_table_with_columns (OutputIt out, const Headers &headers, const Columns &columns) |
template<class T> | |
constexpr pointer_iterator< T * > | make_pointer_iterator (T *t) |
template<class InputIt, std::integral Distance> | |
constexpr InputIt | next (InputIt it, Distance n) |
template<typename T> | |
constexpr T | stobigint (std::string_view str) |
template<class T> | |
void | swap (cloning_ptr< T > &lhs, cloning_ptr< T > &rhs) noexcept |
template<class T1, class T2> requires std::equality_comparable_with<typename cloning_ptr<T1>::pointer, typename cloning_ptr<T2>::pointer> | |
constexpr bool | operator== (const cloning_ptr< T1 > &lhs, const cloning_ptr< T2 > &rhs) noexcept |
template<class T1, class T2> requires std::three_way_comparable_with<typename cloning_ptr<T1>::pointer, typename cloning_ptr<T2>::pointer> | |
constexpr std::compare_three_way_result_t< typename cloning_ptr< T1 >::pointer, typename cloning_ptr< T2 >::pointer > | operator<=> (const cloning_ptr< T1 > &lhs, const cloning_ptr< T2 > &rhs) noexcept |
template<class T> | |
constexpr bool | operator== (const cloning_ptr< T > &lhs, std::nullptr_t) noexcept |
template<class T> requires std::three_way_comparable<typename cloning_ptr<T>::pointer> | |
constexpr std::compare_three_way_result_t< typename cloning_ptr< T >::pointer > | operator<=> (const cloning_ptr< T > &lhs, std::nullptr_t) noexcept |
template<class T, class... Args> | |
cloning_ptr< T > | make_cloning_ptr (Args &&... args) |
SPARROW_API int32_t | extract_int32 (const char *&ptr) |
Helper function to extract a 32-bit integer from a character buffer. | |
template<input_metadata_container T> | |
std::string | get_metadata_from_key_values (const T &metadata) |
Converts a container of key-value pairs to binary metadata format. | |
constexpr nullval_t | nullval (0) |
template<class T, class B> | |
constexpr void | swap (nullable< T, B > &lhs, nullable< T, B > &rhs) noexcept |
Swaps two nullable objects. | |
template<class T, class B> | |
constexpr bool | operator== (const nullable< T, B > &lhs, nullval_t) noexcept |
Equality comparison between nullable and nullval_t. | |
template<class T, mpl::boolean_like B> | |
constexpr std::strong_ordering | operator<=> (const nullable< T, B > &lhs, nullval_t dummy) noexcept |
Three-way comparison between nullable and nullval_t. | |
template<class T, class B, class U> requires (!is_nullable_v<U> && mpl::weakly_equality_comparable_with<T, U>) | |
constexpr bool | operator== (const nullable< T, B > &lhs, const U &rhs) noexcept |
Equality comparison between nullable and regular value. | |
template<class T, class B, class U> requires (!is_nullable_v<U> && std::three_way_comparable_with<U, T>) | |
constexpr std::compare_three_way_result_t< T, U > | operator<=> (const nullable< T, B > &lhs, const U &rhs) noexcept |
Three-way comparison between nullable and regular value. | |
template<class T, class B, class U, class UB> requires (mpl::weakly_equality_comparable_with<T, U>) | |
constexpr bool | operator== (const nullable< T, B > &lhs, const nullable< U, UB > &rhs) noexcept |
Equality comparison between two nullable objects. | |
template<class T, class B, std::three_way_comparable_with< T > U, class UB> | |
constexpr std::compare_three_way_result_t< T, U > | operator<=> (const nullable< T, B > &lhs, const nullable< U, UB > &rhs) noexcept |
Three-way comparison between two nullable objects. | |
template<class T, mpl::boolean_like B = bool> | |
constexpr nullable< T, B > | make_nullable (T &&value, B &&flag=true) |
Creates a nullable object with deduced types. | |
template<std::ranges::range R, typename T = typename std::ranges::range_value_t<R>::value_type> requires (nullable_of<std::ranges::range_value_t<R>, T>) | |
constexpr void | zero_null_values (R &range, const T &default_value=T{}) |
Sets null values in a range to a default value. | |
std::ostream & | operator<< (std::ostream &os, const nullval_t &) |
template<layout_offset OT, std::ranges::sized_range R> requires std::ranges::sized_range<std::ranges::range_value_t<R>> | |
constexpr buffer< OT > | make_offset_buffer (const R &range) |
template<std::ranges::input_range R> requires (std::ranges::sized_range<R>) | |
constexpr std::size_t | range_size (R &&r) |
template<std::ranges::input_range R> requires (!std::ranges::sized_range<R>) | |
constexpr std::size_t | range_size (R &&r) |
template<std::ranges::range Range> requires std::ranges::sized_range<std::ranges::range_value_t<Range>> | |
constexpr bool | all_same_size (const Range &range) |
template<class T, std::size_t E> | |
constexpr bool | operator== (const sequence_view< T, E > &lhs, const sequence_view< T, E > &rhs) |
template<class T, std::size_t E, std::ranges::input_range R> requires mpl::weakly_equality_comparable_with<T, std::ranges::range_value_t<R>> | |
constexpr bool | operator== (const sequence_view< T, E > &lhs, const R &rhs) |
template<class T, std::size_t E> | |
constexpr std::compare_three_way_result< T > | operator<=> (const sequence_view< T, E > &lhs, const sequence_view< T, E > &rhs) |
template<class T, std::size_t E, std::ranges::input_range R> | |
constexpr std::compare_three_way_result< T, std::ranges::range_value_t< R > > | operator<=> (const sequence_view< T, E > &lhs, const R &rhs) |
SPARROW_API const date::time_zone * | get_timezone (const arrow_proxy &proxy) |
template<class... Ts> | |
overloaded (Ts...) -> overloaded< Ts... > | |
Variables | |
template<typename T> | |
constexpr bool | is_move_iterator_v = is_move_iterator<T>::value |
constexpr large_list_flag_t | large_list_flag |
constexpr auto | doesnt_own_arrow_data |
Useful shortcut value to specify non-owning handled Arrow data. | |
constexpr auto | owns_arrow_data |
Useful shortcut value to specify full owning of handled Arrow data. | |
constexpr int | SPARROW_VERSION_MAJOR = 1 |
constexpr int | SPARROW_VERSION_MINOR = 0 |
constexpr int | SPARROW_VERSION_PATCH = 0 |
constexpr int | SPARROW_BINARY_CURRENT = 9 |
constexpr int | SPARROW_BINARY_REVISION = 0 |
constexpr int | SPARROW_BINARY_AGE = 0 |
template<class T> | |
constexpr bool | is_date_array_v = is_date_array<T>::value |
Checks whether T is a date_array type. | |
template<class T> | |
constexpr bool | is_decimal_array_v = mpl::is_type_instance_of_v<T, decimal_array> |
Type trait to check if a type is a decimal array. | |
template<class T> | |
constexpr bool | is_dictionary_encoded_array_v = detail::is_dictionary_encoded_array<T>::get() |
Checks whether T is a dictionary_encoded_array type. | |
template<class T> | |
constexpr bool | is_duration_array_v = is_duration_array<T>::value |
Checks whether T is a duration_array type. | |
template<class T> | |
constexpr bool | is_interval_array_v = is_interval_array<T>::value |
Checks whether T is a interval_array type. | |
template<class T> | |
constexpr bool | is_list_array_v = std::same_as<T, list_array> |
Checks whether T is a list_array type. | |
template<class T> | |
constexpr bool | is_big_list_array_v = std::same_as<T, big_list_array> |
Checks whether T is a big_list_array type. | |
template<class T> | |
constexpr bool | is_list_view_array_v = std::same_as<T, list_view_array> |
Checks whether T is a list_view_array type. | |
template<class T> | |
constexpr bool | is_big_list_view_array_v = std::same_as<T, big_list_view_array> |
Checks whether T is a big_list_view_array type. | |
template<class T> | |
constexpr bool | is_fixed_sized_list_array_v = std::same_as<T, fixed_sized_list_array> |
Checks whether T is a fixed_sized_list_array type. | |
template<class T> | |
constexpr bool | is_map_array_v = std::same_as<T, map_array> |
template<class T> | |
constexpr bool | is_null_array_v = std::same_as<T, null_array> |
Type trait to check if a type is a null_array. | |
template<class T> | |
constexpr bool | is_primitive_array_v = is_primitive_array<T>::value |
Checkes whether T is a primitive_array type. | |
template<class T> | |
constexpr bool | is_run_end_encoded_array_v = std::same_as<T, run_end_encoded_array> |
Checks whether T is a run_end_encoded_array type. | |
template<class T> | |
constexpr bool | is_struc_array_v = std::same_as<T, struct_array> |
Type trait to check if a type is a struct_array. | |
template<class T> | |
constexpr bool | is_time_array_v = is_time_array<T>::value |
Checks whether T is a time_array type. | |
template<typename T> | |
constexpr bool | is_timestamp_array_v = is_timestamp_array<T>::value |
Variable template for convenient access to is_timestamp_array. | |
template<class T> | |
constexpr bool | is_timestamp_without_timezone_array_v = is_timestamp_without_timezone_array<T>::value |
Checks whether T is a timestamp_without_timezone_array type. | |
template<class T> | |
constexpr bool | is_dense_union_array_v = std::same_as<T, dense_union_array> |
Type trait to check if a type is a dense_union_array. | |
template<class T> | |
constexpr bool | is_sparse_union_array_v = std::same_as<T, sparse_union_array> |
Type trait to check if a type is a sparse_union_array. | |
template<typename T> | |
constexpr bool | is_decimal_v = mpl::is_type_instance_of_v<T, decimal> |
Type trait to check if a type is a decimal instantiation. | |
template<class T> | |
constexpr bool | is_int_placeholder_v = false |
constexpr bool | large_int_placeholders = false |
template<class T> | |
constexpr bool | is_nullable_v = is_nullable<T>::value |
template<class T> | |
constexpr bool | is_nullable_variant_v = is_nullable_variant<T>::value |
template<class T> | |
constexpr bool | is_string_array_v = std::same_as<T, string_array> |
Checks whether T is a string_array type. | |
template<class T> | |
constexpr bool | is_big_string_array_v = std::same_as<T, big_string_array> |
Checks whether T is a big_string_array type. | |
template<class T> | |
constexpr bool | is_binary_array_v = std::same_as<T, binary_array> |
Checks whether T is a binary_array type. | |
template<class T> | |
constexpr bool | is_big_binary_array_v = std::same_as<T, big_binary_array> |
Checks whether T is a big_binary_array type. | |
template<class T> | |
constexpr bool | is_variable_size_binary_view_array = is_variable_size_binary_view_array_impl<T>::value |
Checks whether T is a variable_size_binary_view_array_impl type. | |
using sparrow::all_base_types_extended_t = mpl::append_t<all_base_types_t, char, std::string_view> |
is arrow base type or arrow compound type (list<T>, struct<T> etc.)
Definition at line 678 of file data_type.hpp.
C++ types value representation types matching Arrow types.
Definition at line 625 of file data_type.hpp.
using sparrow::array_bitmap_base = array_bitmap_base_impl<D, false> |
Convenient alias for arrays with immutable validity bitmaps.
This alias creates an array_bitmap_base_impl with is_mutable = false, providing read-only access to the validity bitmap.
D | The derived array type |
Definition at line 294 of file array_bitmap_base.hpp.
using sparrow::big_binary_array = binary_array_impl<std::int64_t> |
Type alias for variable-size binary arrays with 64-bit offsets.
A variable-size binary array implementation for storing arbitrary binary data where the cumulative length may exceed 2^31-1 bytes. Use this for very large binary datasets.
Related Apache Arrow specification: https://arrow.apache.org/docs/dev/format/Columnar.html#variable-size-binary-layout
Definition at line 150 of file variable_size_binary_array.hpp.
using sparrow::big_list_array = list_array_impl<true> |
A big list array implementation.
Stores variable-length lists of values, where each list can have a different length. Uses 64-bit offsets for larger datasets.
Related Apache Arrow description and specification:
Definition at line 68 of file list_array.hpp.
using sparrow::big_list_view_array = list_view_array_impl<true> |
Definition at line 83 of file list_array.hpp.
using sparrow::big_string_array = string_array_impl<std::int64_t> |
Type alias for variable-size string arrays with 64-bit offsets.
A variable-size string array implementation for storing UTF-8 strings where the cumulative length of all strings may exceed 2^31-1 bytes. Use this for very large string datasets.
Related Apache Arrow specification: https://arrow.apache.org/docs/dev/format/Columnar.html#variable-size-binary-layout
Definition at line 122 of file variable_size_binary_array.hpp.
using sparrow::binary_array = binary_array_impl<std::int32_t> |
Type alias for variable-size binary arrays with 32-bit offsets.
A variable-size binary array implementation for storing arbitrary binary data where the cumulative length does not exceed 2^31-1 bytes. This is the standard choice for most binary datasets.
Related Apache Arrow specification: https://arrow.apache.org/docs/dev/format/Columnar.html#variable-size-binary-layout
Definition at line 136 of file variable_size_binary_array.hpp.
using sparrow::binary_array_impl |
Definition at line 91 of file variable_size_binary_array.hpp.
A variable-size binary view layout implementation.
Related Apache Arrow specification: https://arrow.apache.org/docs/dev/format/Columnar.html#variable-size-binary-view-layout
Definition at line 60 of file variable_size_binary_view_array.hpp.
using sparrow::byte_t = std::byte |
Definition at line 115 of file data_type.hpp.
using sparrow::date_array = primitive_array_impl<T> |
Array of std::chrono::duration values.
As the other arrays in sparrow, date_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. |
Definition at line 58 of file date_array.hpp.
using sparrow::date_days = std::chrono::time_point<std::chrono::system_clock, chrono::days> |
Definition at line 23 of file date_types.hpp.
using sparrow::date_days_array = date_array<date_days> |
A date array for date_days
values.
This is useful for representing dates with day precision.
Definition at line 64 of file date_array.hpp.
using sparrow::date_milliseconds = std::chrono::time_point<std::chrono::system_clock, std::chrono::milliseconds> |
Definition at line 24 of file date_types.hpp.
A date array for date_milliseconds
values.
This is useful for representing dates with millisecond precision.
Definition at line 69 of file date_array.hpp.
Definition at line 25 of file date_array.hpp.
An interval array for days_time_interval
values.
This is useful for representing intervals in days and time.
Definition at line 76 of file interval_array.hpp.
Type alias for 128-bit decimal array.
Definition at line 49 of file decimal_array.hpp.
Type alias for 256-bit decimal array.
Definition at line 51 of file decimal_array.hpp.
using sparrow::decimal_32_array = decimal_array<decimal<int32_t>> |
Type alias for 32-bit decimal array.
Definition at line 45 of file decimal_array.hpp.
using sparrow::decimal_64_array = decimal_array<decimal<int64_t>> |
Type alias for 64-bit decimal array.
Definition at line 47 of file decimal_array.hpp.
using sparrow::default_layout_t = typename arrow_traits<T>::default_layout |
Binary layout type to use by default for the given C++ representation T of an arrow value.
Definition at line 756 of file data_type.hpp.
using sparrow::duration_array = primitive_array_impl<T> |
Array of std::chrono::duration values.
As the other arrays in sparrow, duration_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. |
Definition at line 71 of file duration_array.hpp.
using sparrow::duration_microseconds_array = duration_array<std::chrono::microseconds> |
A duration array for std::chrono::microseconds
values.
This is useful for representing durations in microseconds.
Definition at line 87 of file duration_array.hpp.
using sparrow::duration_milliseconds_array = duration_array<std::chrono::milliseconds> |
A duration array for std::chrono::milliseconds
values.
This is useful for representing durations in milliseconds.
Definition at line 82 of file duration_array.hpp.
using sparrow::duration_nanoseconds_array = duration_array<std::chrono::nanoseconds> |
A duration array for std::chrono::nanoseconds
values.
This is useful for representing durations in nanoseconds.
Definition at line 92 of file duration_array.hpp.
using sparrow::duration_seconds_array = duration_array<std::chrono::seconds> |
A duration array for std::chrono::seconds
values.
This is useful for representing durations in seconds.
Definition at line 77 of file duration_array.hpp.
Definition at line 26 of file duration_array.hpp.
Definition at line 77 of file fixed_width_binary_array.hpp.
using sparrow::fixed_width_binary_traits = arrow_traits<std::vector<byte_t>> |
Definition at line 46 of file fixed_width_binary_array.hpp.
using sparrow::float16_t = half_float::half |
Definition at line 93 of file data_type.hpp.
using sparrow::float32_t = float |
Definition at line 94 of file data_type.hpp.
using sparrow::float64_t = double |
Definition at line 95 of file data_type.hpp.
using sparrow::get_corresponding_arrow_type_t = std::conditional_t<std::same_as<T, std::string_view>, std::string, T> |
Template alias to get the corresponding Arrow type for a given type.
This template alias is used to determine the corresponding Arrow type for a given type. For example, the given type is std::string_view, the corresponding Arrow type is std::string. Otherwise, the corresponding Arrow type is the same as the given type.
T | The type for which to determine the corresponding Arrow type. |
Definition at line 700 of file data_type.hpp.
using sparrow::int128_t = primesum::int128_t |
Definition at line 84 of file large_int.hpp.
using sparrow::int256_t = primesum::int256_t |
Definition at line 85 of file large_int.hpp.
using sparrow::interval_array = primitive_array_impl<T> |
Array of interval values.
As the other arrays in sparrow, interval_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. |
Definition at line 65 of file interval_array.hpp.
using sparrow::interval_types_t = mpl::typelist<chrono::months, days_time_interval, month_day_nanoseconds_interval> |
Definition at line 27 of file interval_array.hpp.
using sparrow::list_array = list_array_impl<false> |
A list array implementation.
Stores variable-length lists of values, where each list can have a different length. Uses 32-bit offsets for smaller datasets.
Related Apache Arrow description and specification:
Definition at line 57 of file list_array.hpp.
using sparrow::list_view_array = list_view_array_impl<false> |
A list view array implementation.
Stores variable-length lists where each element can contain a different number of sub-elements. Use the List layout when your data consists of variable-length lists and you want a straightforward, efficient representation where the order of elements in the child array matches the logical order in the parent array. This is the standard layout for most use cases involving variable-length lists, such as arrays of strings or arrays of arrays of numbers.
Related Apache Arrow description and specification:
Definition at line 82 of file list_array.hpp.
using sparrow::metadata_key = std::string |
Type alias for metadata keys.
Represents the key portion of a metadata key-value pair as a string view. String views are used for efficiency to avoid unnecessary string copies.
Definition at line 43 of file metadata.hpp.
using sparrow::metadata_key_const_reference = std::string_view |
Definition at line 44 of file metadata.hpp.
using sparrow::metadata_pair = std::pair<metadata_key, metadata_value> |
Type alias for metadata key-value pairs.
Represents a complete metadata entry consisting of a key and value, both as string views for efficient processing.
Definition at line 61 of file metadata.hpp.
using sparrow::metadata_pair_const_reference = std::pair<metadata_key_const_reference, metadata_value_const_reference> |
Definition at line 62 of file metadata.hpp.
using sparrow::metadata_value = std::string |
Type alias for metadata values.
Represents the value portion of a metadata key-value pair as a string view. String views are used for efficiency to avoid unnecessary string copies.
Definition at line 52 of file metadata.hpp.
using sparrow::metadata_value_const_reference = std::string_view |
Definition at line 53 of file metadata.hpp.
using sparrow::month_day_nanoseconds_interval_array = interval_array<month_day_nanoseconds_interval> |
An interval array for month_day_nanoseconds_interval
values.
This is useful for representing intervals in months, days, and nanoseconds.
Definition at line 81 of file interval_array.hpp.
An interval array for std::chrono::months
values.
This is useful for representing intervals in months.
Definition at line 71 of file interval_array.hpp.
using sparrow::mutable_array_bitmap_base = array_bitmap_base_impl<D, true> |
Convenient alias for arrays with mutable validity bitmaps.
This alias creates an array_bitmap_base_impl with is_mutable = true, providing full read-write access to the validity bitmap including resize, insert, and erase operations.
D | The derived array type |
Definition at line 306 of file array_bitmap_base.hpp.
using sparrow::primitive_array = primitive_array_impl<T> |
Array of values of whose type has fixed binary size.
The type of the values in the array can be a primitive type, whose size is known at compile time, or an arbitrary binary type whose fixed size is known at runtime only. The current implementation supports types whose size is known at compile time only.
As the other arrays in sparrow, primitive_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. |
Definition at line 63 of file primitive_array.hpp.
using sparrow::string_array = string_array_impl<std::int32_t> |
Type alias for variable-size string arrays with 32-bit offsets.
A variable-size string array implementation for storing UTF-8 strings where the cumulative length of all strings does not exceed 2^31-1 bytes. This is the standard choice for most string datasets.
Related Apache Arrow specification: https://arrow.apache.org/docs/dev/format/Columnar.html#variable-size-binary-layout
Definition at line 108 of file variable_size_binary_array.hpp.
using sparrow::string_array_impl |
Definition at line 85 of file variable_size_binary_array.hpp.
A variable-size string view layout implementation.
Related Apache Arrow specification: https://arrow.apache.org/docs/dev/format/Columnar.html#variable-size-binary-view-layout
Definition at line 49 of file variable_size_binary_view_array.hpp.
using sparrow::time_array = primitive_array_impl<T> |
Array of time values.
As the other arrays in sparrow, time_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. |
Definition at line 70 of file time_array.hpp.
A time array for std::chrono::time_microseconds
values.
This is useful for representing times with microsecond precision.
Definition at line 86 of file time_array.hpp.
A time array for std::chrono::time_milliseconds
values.
This is useful for representing times with millisecond precision.
Definition at line 81 of file time_array.hpp.
A time array for std::chrono::time_nanoseconds
values.
This is useful for representing times with nanosecond precision.
Definition at line 91 of file time_array.hpp.
A time array for std::chrono::time_seconds
values.
This is useful for representing times with second precision.
Definition at line 76 of file time_array.hpp.
using sparrow::time_types_t |
Definition at line 24 of file time_array.hpp.
using sparrow::timestamp = date::zoned_time<Duration, TimeZonePtr> |
Definition at line 104 of file data_type.hpp.
using sparrow::timestamp_microsecond = timestamp<std::chrono::microseconds> |
Definition at line 94 of file timestamp_array.hpp.
Definition at line 102 of file timestamp_array.hpp.
using sparrow::timestamp_millisecond = timestamp<std::chrono::milliseconds> |
Definition at line 93 of file timestamp_array.hpp.
Definition at line 101 of file timestamp_array.hpp.
using sparrow::timestamp_nanosecond = timestamp<std::chrono::nanoseconds> |
Definition at line 95 of file timestamp_array.hpp.
Definition at line 103 of file timestamp_array.hpp.
using sparrow::timestamp_second = timestamp<std::chrono::seconds> |
Type aliases for common timestamp durations.
Definition at line 92 of file timestamp_array.hpp.
Type aliases for timestamp arrays with common durations.
Definition at line 100 of file timestamp_array.hpp.
Definition at line 22 of file timestamp_concepts.hpp.
using sparrow::timestamp_without_timezone_array = primitive_array_impl<T> |
Array of timestamps without timezone.
Definition at line 63 of file timestamp_without_timezone_array.hpp.
A timestamp without timezone array for zoned_time_without_timezone_microseconds
values.
This is useful for representing timestamps with microsecond precision.
Definition at line 82 of file timestamp_without_timezone_array.hpp.
A timestamp without timezone array for zoned_time_without_timezone_milliseconds
values.
This is useful for representing timestamps with millisecond precision.
Definition at line 75 of file timestamp_without_timezone_array.hpp.
A timestamp without timezone array for zoned_time_without_timezone_nanoseconds
values.
This is useful for representing timestamps with nanosecond precision.
Definition at line 88 of file timestamp_without_timezone_array.hpp.
using sparrow::timestamp_without_timezone_seconds_array = timestamp_without_timezone_array<zoned_time_without_timezone_seconds> |
A timestamp without timezone array for zoned_time_without_timezone_seconds
values.
This is useful for representing timestamps with second precision.
Definition at line 69 of file timestamp_without_timezone_array.hpp.
using sparrow::validity_bitmap = dynamic_bitset<std::uint8_t> |
Type alias for a validity bitmap using 8-bit storage blocks.
A validity bitmap is a specialized dynamic_bitset commonly used in data processing to track which elements in a data array are valid (non-null). Uses std::uint8_t for efficient memory usage and cache performance.
Example usage:
Definition at line 234 of file dynamic_bitset.hpp.
using sparrow::visit_result_t = std::invoke_result_t<F, null_array> |
Definition at line 46 of file dispatch.hpp.
Definition at line 23 of file timestamp_without_timezone_array.hpp.
|
strong |
Enumerator | |
---|---|
DICTIONARY_ORDERED | |
NULLABLE | |
MAP_KEYS_SORTED |
Definition at line 66 of file c_interface.hpp.
|
strong |
Runtime identifier of arrow data types, usually associated with raw bytes with the associated value.
Definition at line 130 of file data_type.hpp.
|
strong |
Specifies the ownership model when passing Arrow data to another system.
Definition at line 76 of file c_interface.hpp.
|
nodiscardconstexpr |
Definition at line 188 of file data_type.hpp.
|
nodiscardconstexpr |
Check if all elements of a range or std::optional<range> are valid by caling their bool operator.
If the type is nullptr, it returns true. If the std::optional does not have a value, it returns true.
Definition at line 230 of file arrow_array_schema_utils.hpp.
|
nodiscardconstexpr |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscard |
|
nodiscardconstexpr |
|
nodiscardconstexpr |
function to create a sparrow array from arbitrary nested combinations of ranges, tuples, and nullable types, variants.
Have a look at the buider documentation for more information.
Definition at line 80 of file builder.hpp.
|
nodiscardconstexprnoexcept |
Reverses the bytes in the given integer value.
T | The type of the integer value. |
value | The integer value to reverse. |
Definition at line 32 of file bit.hpp.
|
constexpr |
Definition at line 83 of file format.hpp.
|
inlinenodiscard |
Create a deep copy of the source ArrowArray.
The buffers, children and dictionary are deep copied.
Definition at line 198 of file arrow_array.hpp.
SPARROW_API void sparrow::copy_array | ( | const ArrowArray & | source_array, |
const ArrowSchema & | source_schema, | ||
ArrowArray & | target ) |
Fill the target ArrowArray with a deep copy of the data from the source ArrowArray.
source_array | The source ArrowArray to copy from. |
source_schema | The schema of the source ArrowArray. |
target | The target ArrowArray to copy to. |
|
inlinenodiscard |
Deep copy an ArrowSchema
.
source | The source ArrowSchema . |
ArrowSchema
. Definition at line 222 of file arrow_schema.hpp.
SPARROW_API void sparrow::copy_schema | ( | const ArrowSchema & | source, |
ArrowSchema & | target ) |
Fills the target ArrowSchema
with a deep copy of the data from the source ArrowSchema
.
|
nodiscardconstexprnoexcept |
data_type
that should be associated with the provided type. The deduction will be based on the size of the type. Calling this function with unsupported sizes will not compile. Definition at line 403 of file data_type.hpp.
|
nodiscardconstexprnoexcept |
data_type
that should be associated with the provided type. The deduction will be based on the size of the type. Calling this function with unsupported sizes will not compile. Definition at line 424 of file data_type.hpp.
|
nodiscardconstexprnoexcept |
Definition at line 601 of file data_type.hpp.
|
nodiscardconstexprnoexcept |
Definition at line 578 of file data_type.hpp.
|
nodiscardconstexpr |
Definition at line 491 of file data_type.hpp.
SPARROW_API void sparrow::empty_release_arrow_array | ( | ArrowArray * | array | ) |
Empty release function to use for the ArrowArray.release
member.
Should be used for view of ArrowArray.
SPARROW_API void sparrow::empty_release_arrow_schema | ( | ArrowSchema * | schema | ) |
Empty release function to use for the ArrowSchema.release
member.
Should be used for view of ArrowSchema.
validity_bitmap sparrow::ensure_validity_bitmap | ( | std::size_t | size, |
R && | validity_input ) |
Ensures a validity bitmap of the specified size from various input types.
This function creates or adapts a validity bitmap to have the specified size, handling different input types appropriately:
R | Type of the validity input, must satisfy validity_bitmap_input concept |
size | The desired size of the resulting validity bitmap |
validity_input | The input data to create/adapt the validity bitmap from |
Example usage:
Definition at line 349 of file dynamic_bitset.hpp.
ArrowArray sparrow::extract_arrow_array | ( | A && | a | ) |
Extracts the internal ArrowArray structure from the given Array or typed layout.
After this call, the user is responsible for the management of the returned ArrowArray.
A | The layout or array type. |
a | An array or a typed layout. |
std::runtime_error | If a does not own its internal ArrowArray before this call. |
Definition at line 86 of file array.hpp.
ArrowSchema sparrow::extract_arrow_schema | ( | A && | a | ) |
Extracts the internal ArrowSchema structure from the given array or typed layout.
After this call, the user is responsible for the management of the returned ArrowSchema.
A | The layout or array type. |
a | An array or a typed layout. |
std::runtime_error | If a does not own its internal ArrowSchema before this call. |
Definition at line 92 of file array.hpp.
std::pair< ArrowArray, ArrowSchema > sparrow::extract_arrow_structures | ( | A && | a | ) |
Extracts the internal ArrowArray and ArrowSchema structures from the given array or typed layout.
After this call, the user is responsible for the management of the returned ArrowArray and ArrowSchema.
A | The layout or array type. |
a | An array or a typed layout. |
std::runtime_error | If a does not own its internal ArrowArray and ArrowSchema before this call. |
Definition at line 98 of file array.hpp.
SPARROW_API int32_t sparrow::extract_int32 | ( | const char *& | ptr | ) |
Helper function to extract a 32-bit integer from a character buffer.
Reads a 32-bit integer from the current position in the buffer and advances the pointer past the read data. Used for parsing binary metadata formats.
ptr | Reference to character pointer that will be advanced |
void sparrow::fill_arrow_array | ( | ArrowArray & | array, |
int64_t | length, | ||
int64_t | null_count, | ||
int64_t | offset, | ||
B | buffers, | ||
ArrowArray ** | children, | ||
const CHILDREN_OWNERSHIP & | children_ownership, | ||
ArrowArray * | dictionary, | ||
bool | dictionary_ownership ) |
Fill an ArrowArray
object.
B | Value, reference or rvalue of std::vector<sparrow::buffer<uint8_t>> |
array | The ArrowArray to fill. |
length | The logical length of the array (i.e. its number of items). Must be 0 or positive. |
null_count | The number of null items in the array. May be -1 if not yet computed. Must be 0 or positive otherwise. |
offset | The logical offset inside the array (i.e. the number of items from the physical start of the buffers). Must be 0 or positive. |
buffers | Vector of sparrow::buffer<uint8_t> . |
children | Pointer to a sequence of ArrowArray pointers or nullptr . Must be nullptr if n_children is 0 . |
children_ownership | Ownership of the children arrays. Must be true if the ArrowArray owns the children arrays, false otherwise. |
dictionary | ArrowArray pointer or nullptr . |
dictionary_ownership | Whether the dictionary is owned by the ArrowArray or not. |
Definition at line 99 of file arrow_array.hpp.
void sparrow::fill_arrow_schema | ( | ArrowSchema & | schema, |
F | format, | ||
N | name, | ||
std::optional< M > | metadata, | ||
std::optional< std::unordered_set< ArrowFlag > > | flags, | ||
ArrowSchema ** | children, | ||
const CHILDREN_OWNERSHIP & | children_ownership, | ||
ArrowSchema * | dictionary, | ||
bool | dictionary_ownership ) |
Definition at line 93 of file arrow_schema.hpp.
|
nodiscardconstexpr |
data_type::NA
if we couldnt find a matching data_type. Definition at line 207 of file data_type.hpp.
ArrowArray * sparrow::get_arrow_array | ( | A & | a | ) |
Returns a pointer to the internal ArrowArray of the given array or layout.
A | The layout or array type. |
a | An Array or a typed layout. |
Definition at line 60 of file array.hpp.
|
nodiscard |
ArrowSchema * sparrow::get_arrow_schema | ( | A & | a | ) |
Returns a pointer to the internal ArrowSchema of the given array or layout.
A | The layout or array type. |
a | An Array or a typed layout. |
Definition at line 66 of file array.hpp.
std::pair< ArrowArray *, ArrowSchema * > sparrow::get_arrow_structures | ( | A & | a | ) |
Returns pointers to the internal ArrowArray and ArrowSchema of the given Array or layout.
A | The layout or array type. |
a | An Array or a typed layout. |
Definition at line 72 of file array.hpp.
std::pair< const ArrowArray *, const ArrowSchema * > sparrow::get_arrow_structures | ( | const A & | a | ) |
Returns const pointers to the internal ArrowArray and ArrowSchema of the given Array or layout.
A | The layout or array type. |
a | An Array or a typed layout. |
Definition at line 79 of file array.hpp.
|
nodiscard |
std::string sparrow::get_metadata_from_key_values | ( | const T & | metadata | ) |
Converts a container of key-value pairs to binary metadata format.
Takes a container of metadata pairs and serializes them into a binary format suitable for storage or transmission. The resulting string contains a packed representation with length-prefixed strings.
Binary format:
T | Type of input metadata container |
metadata | Container of key-value pairs to serialize |
Definition at line 338 of file metadata.hpp.
|
nodiscardconstexpr |
Get a raw pointer from a smart pointer, a range, an object or a pointer.
T | The type of the pointer to obtain. |
U | The type of the variable. |
var | The variable. |
Definition at line 145 of file arrow_array_schema_utils.hpp.
|
nodiscard |
|
nodiscardconstexprnoexcept |
Definition at line 22 of file arrow_array_schema_info_utils.hpp.
|
constexpr |
|
nodiscardconstexprnoexcept |
true
if the given value is a valid ArrowFlag
value, false
otherwise. Definition at line 24 of file arrow_flag_utils.hpp.
|
nodiscard |
Creates an ArrowArray
.
B | Value, reference or rvalue of std::vector<sparrow::buffer<uint8_t>> |
length | The logical length of the array (i.e. its number of items). Must be 0 or positive. |
null_count | The number of null items in the array. May be -1 if not yet computed. Must be 0 or positive otherwise. |
offset | The logical offset inside the array (i.e. the number of items from the physical start of the buffers). Must be 0 or positive. |
buffers | Vector of sparrow::buffer<uint8_t> . |
children | Pointer to a sequence of ArrowArray pointers or nullptr. Must be nullptr if n_children is 0 . |
children_ownership | Ownership of the children arrays. Must be true if the ArrowArray owns the children arrays, false otherwise. |
dictionary | ArrowArray pointer or nullptr . |
dictionary_ownership | Whether the dictionary is owned by the ArrowArray or not. |
ArrowArray
. Definition at line 136 of file arrow_array.hpp.
|
nodiscard |
Creates an ArrowSchema
owned by a unique_ptr
and holding the provided data.
F | Value, reference or rvalue of arrow_schema_private_data::FormatType |
N | Value, reference or rvalue of arrow_schema_private_data::NameType |
M | Value, reference or rvalue of arrow_schema_private_data::MetadataType |
format | A mandatory, null-terminated, UTF8-encoded string describing the data type. If the data type is nested, child types are not encoded here but in the ArrowSchema.children structures. |
name | An optional, null-terminated, UTF8-encoded string of the field or array name. This is mainly used to reconstruct child fields of nested types. |
metadata | An optional, range of key-value pairs to attach to the schema. |
flags | An optional set of flags to attach to the schema. |
children | Pointer to a sequence of ArrowSchema pointers or nullptr . Must be nullptr if n_children is 0 . |
children_ownership | A range of booleans indicating ownership of the ArrowSchema pointers in children . If the range is empty, children must be nullptr . |
dictionary | Pointer to an ArrowSchema . Must be present if the ArrowSchema represents a dictionary-encoded type. Must be nullptr otherwise. |
dictionary_ownership | Indicates whether the dictionary is owned by the ArrowSchema . |
ArrowSchema
unique pointer. Definition at line 153 of file arrow_schema.hpp.
auto sparrow::make_buffer_adaptor | ( | FromBufferRef & | buf | ) |
cloning_ptr< T > sparrow::make_cloning_ptr | ( | Args &&... | args | ) |
|
inlinenodiscard |
Definition at line 168 of file arrow_array.hpp.
|
inline |
Definition at line 190 of file arrow_schema.hpp.
|
constexpr |
Creates a nullable object with deduced types.
T | Value type (deduced) |
B | Flag type (deduced, defaults to bool) |
value | Value to store |
flag | Validity flag (defaults to true) |
Definition at line 1361 of file nullable.hpp.
|
nodiscardconstexpr |
|
nodiscardconstexpr |
|
constexpr |
Definition at line 72 of file format.hpp.
|
inlinenodiscard |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowArray.
Definition at line 209 of file arrow_array.hpp.
|
inlinenodiscard |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowArray.
Definition at line 221 of file arrow_array.hpp.
|
inline |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowSchema.
Definition at line 233 of file arrow_schema.hpp.
|
inline |
Moves the content of source into a stack-allocated array, and reset the source to an empty ArrowSchema.
Definition at line 245 of file arrow_schema.hpp.
|
nodiscardconstexpr |
Definition at line 503 of file iterator.hpp.
|
inlineconstexpr |
|
nodiscard |
|
nodiscard |
Get the number of bytes for a fixed width binary layout from the ArrowArray format string.
Example: w:42 -> 42 bytes w:1 -> 1 bytes
format | the format string |
std::invalid_argument | if no conversion could be performed. |
std::out_of_range | if the converted value would fall out of the range of the result type or if the underlying function (std::strtoul or std::strtoull) sets errno to ERANGE. |
|
nodiscard |
|
inline |
Definition at line 1530 of file nullable.hpp.
|
constexprnoexcept |
Definition at line 487 of file memory.hpp.
|
constexprnoexcept |
|
constexprnoexcept |
Three-way comparison between two nullable objects.
T | First value type |
B | First flag type |
U | Second value type (must be three-way comparable with T) |
UB | Second flag type |
lhs | First nullable to compare |
rhs | Second nullable to compare |
Definition at line 1354 of file nullable.hpp.
|
constexprnoexcept |
Three-way comparison between nullable and regular value.
T | Value type |
B | Flag type |
U | Type of value to compare with |
lhs | Nullable to compare |
rhs | Value to compare with |
Definition at line 1341 of file nullable.hpp.
|
constexprnoexcept |
Three-way comparison between nullable and nullval_t.
T | Value type |
B | Flag type |
lhs | Nullable to compare |
dummy | nullval sentinel |
Definition at line 1327 of file nullable.hpp.
|
constexpr |
Definition at line 122 of file sequence_view.hpp.
|
constexpr |
Definition at line 115 of file sequence_view.hpp.
|
constexpr |
SPARROW_API bool sparrow::operator== | ( | const array & | lhs, |
const array & | rhs ) |
Compares the content of two arrays.
true
if the contents of both arrays are equal, false
otherwise.
|
constexpr |
Definition at line 693 of file array_base.hpp.
bool sparrow::operator== | ( | const bitset_reference< B > & | lhs, |
bool | rhs ) |
Equality comparison between a bitset reference and a boolean value.
B | Type of the bitset reference |
lhs | The reference to compare |
rhs | The boolean value to compare against |
Definition at line 300 of file bitset_reference.hpp.
bool sparrow::operator== | ( | const bitset_reference< B1 > & | lhs, |
const bitset_reference< B2 > & | rhs ) |
Equality comparison between two bitset references.
B1 | Type of the first bitset reference |
B2 | Type of the second bitset reference |
lhs | The first reference to compare |
rhs | The second reference to compare |
Definition at line 294 of file bitset_reference.hpp.
|
constexprnoexcept |
Definition at line 1134 of file buffer.hpp.
bool sparrow::operator== | ( | const buffer_view< T > & | lhs, |
const buffer_view< T > & | rhs ) |
|
constexprnoexcept |
Definition at line 480 of file memory.hpp.
|
constexprnoexcept |
Definition at line 466 of file memory.hpp.
|
constexpr |
Definition at line 38 of file interval_types.hpp.
|
constexpr |
Equality comparison operator for dictionary_encoded_array.
IT | The integral type used for dictionary keys. |
lhs | The first dictionary_encoded_array to compare. |
rhs | The second dictionary_encoded_array to compare. |
Definition at line 953 of file dictionary_encoded_array.hpp.
SPARROW_API bool sparrow::operator== | ( | const list_value & | lhs, |
const list_value & | rhs ) |
Equality comparison operator for list_value objects.
Compares two list_value objects for element-wise equality. Two lists are considered equal if they have the same size and all corresponding elements compare equal.
lhs | First list to compare |
rhs | Second list to compare |
SPARROW_API bool sparrow::operator== | ( | const map_value & | lhs, |
const map_value & | rhs ) |
|
constexpr |
Definition at line 55 of file interval_types.hpp.
SPARROW_API bool sparrow::operator== | ( | const null_array & | lhs, |
const null_array & | rhs ) |
Equality comparison operator for null arrays.
Two null arrays are considered equal if they have the same size, since all elements are conceptually null.
lhs | First null array to compare |
rhs | Second null array to compare |
Definition at line 122 of file data_type.hpp.
|
constexprnoexcept |
Equality comparison between two nullable objects.
T | First value type |
B | First flag type |
U | Second value type |
UB | Second flag type |
lhs | First nullable to compare |
rhs | Second nullable to compare |
Definition at line 1348 of file nullable.hpp.
|
constexprnoexcept |
Equality comparison between nullable and regular value.
T | Value type |
B | Flag type |
U | Type of value to compare with |
lhs | Nullable to compare |
rhs | Value to compare with |
Definition at line 1334 of file nullable.hpp.
|
constexprnoexcept |
Equality comparison between nullable and nullval_t.
T | Value type |
B | Flag type |
lhs | Nullable to compare |
dummy | nullval sentinel |
Definition at line 1321 of file nullable.hpp.
SPARROW_API bool sparrow::operator== | ( | const record_batch & | lhs, |
const record_batch & | rhs ) |
Compares two record_batch objects for equality.
Two record batches are considered equal if:
lhs | First record batch to compare |
rhs | Second record batch to compare |
SPARROW_API bool sparrow::operator== | ( | const run_end_encoded_array & | lhs, |
const run_end_encoded_array & | rhs ) |
|
constexpr |
Definition at line 109 of file sequence_view.hpp.
|
constexpr |
Definition at line 102 of file sequence_view.hpp.
SPARROW_API bool sparrow::operator== | ( | const struct_value & | lhs, |
const struct_value & | rhs ) |
|
constexpr |
Equality comparison operator for union arrays.
Compares two union arrays element-wise, ensuring both type IDs and values match.
D | Union array type |
lhs | First union array to compare |
rhs | Second union array to compare |
Definition at line 1169 of file union_array.hpp.
sparrow::overloaded | ( | Ts... | ) | -> overloaded< Ts... > |
bool sparrow::owns_arrow_array | ( | const A & | a | ) |
Returns true
if the given layout or array has ownership of its internal ArrowArray.
a | An array or a typed layout object. |
true
if a
owns its internal ArrowArray, false
otherwise. Definition at line 48 of file array.hpp.
bool sparrow::owns_arrow_schema | ( | const A & | a | ) |
Returns true
if the given layout or array has ownership of its internal ArrowSchema.
A | The layout or array type. |
a | An array or a typed layout object. |
true
if a
owns its internal ArrowSchema, false
otherwise. Definition at line 54 of file array.hpp.
|
nodiscardconstexpr |
|
nodiscardconstexpr |
Definition at line 39 of file ranges.hpp.
|
nodiscard |
SPARROW_API void sparrow::release_arrow_array | ( | ArrowArray * | array | ) |
Release function to use for the ArrowArray.release
member.
SPARROW_API void sparrow::release_arrow_schema | ( | ArrowSchema * | schema | ) |
Release function to use for the ArrowSchema.release
member.
void sparrow::release_common_arrow | ( | T & | t | ) |
Release the children and dictionnary of an ArrowArray
or ArrowSchema
.
T | ArrowArray or ArrowSchema |
t | The ArrowArray or ArrowSchema to release. |
Definition at line 31 of file arrow_array_schema_common_release.hpp.
|
nodiscardconstexpr |
Get the size of a range, a tuple or an optional.
If the range is a sized range, the size is obtained by calling std::ranges::size()
. If the range is a tuple, the size is obtained by calling tuple_size_v. If the optional has a value, the size is obtained by calling ssize() on the value.
T | The type of the value . |
value | The value. |
value
. Definition at line 117 of file arrow_array_schema_utils.hpp.
|
constexpr |
Definition at line 88 of file large_int.hpp.
|
nodiscard |
SPARROW_API void sparrow::swap | ( | ArrowArray & | lhs, |
ArrowArray & | rhs ) |
|
noexcept |
Swaps the contents of the two ArrowSchema objects.
|
noexcept |
Definition at line 459 of file memory.hpp.
|
constexprnoexcept |
Swaps two nullable objects.
T | Value type |
B | Flag type |
lhs | First nullable to swap |
rhs | Second nullable to swap |
Definition at line 1315 of file nullable.hpp.
|
inline |
Converts a vector of ArrowFlag values to a bitfield of ArrowFlag values.
Definition at line 62 of file arrow_flag_utils.hpp.
|
nodiscardconstexprnoexcept |
|
constexpr |
Definition at line 85 of file private_data.hpp.
|
nodiscardconstexpr |
Create a vector of pointers to elements from a std::optional<range>.
Requirement: The provided range must own it's elements.
T | The type of the pointers to obtain. |
Optional | The optional type. |
Allocator | The allocator type. |
optional | The optional range. |
Definition at line 200 of file arrow_array_schema_utils.hpp.
|
nodiscardconstexpr |
Create a vector of pointers to elements from a range.
Requirement: The provided range must own it's elements.
T | The type of the pointers to obtain. |
Range | The range type. |
Allocator | The allocator type. |
range | The range. |
Definition at line 183 of file arrow_array_schema_utils.hpp.
|
nodiscardconstexpr |
Create a vector of pointers to elements of a tuple.
Types of the tuple can be value_ptr, smart pointers, ranges, objects or pointers. The type of the elements can be different. E.g: std::tuple<value_ptr<int>, std::unique_ptr<char>, double>. Casting is used to convert the pointers to the desired type.
T | The type of the pointers to obtain. |
Tuple | The tuple type. |
Allocator | The allocator type. |
tuple | The tuple. |
Definition at line 211 of file arrow_array_schema_utils.hpp.
|
constexpr |
|
inline |
Converts a bitfield of ArrowFlag values to a set of ArrowFlag values.
Definition at line 41 of file arrow_flag_utils.hpp.
|
constexpr |
T & sparrow::unwrap_array | ( | array_wrapper & | ar | ) |
const T & sparrow::unwrap_array | ( | const array_wrapper & | ar | ) |
Definition at line 256 of file array_wrapper.hpp.
|
nodiscard |
Definition at line 49 of file dispatch.hpp.
|
constexpr |
Sets null values in a range to a default value.
R | Range type containing nullable values |
T | Value type for the default |
range | Range of nullable objects to process |
default_value | Value to assign to null elements |
Definition at line 1368 of file nullable.hpp.
|
inlineconstexpr |
Useful shortcut value to specify non-owning handled Arrow data.
Definition at line 98 of file c_interface.hpp.
|
constexpr |
Checks whether T is a big_binary_array type.
Definition at line 213 of file variable_size_binary_array.hpp.
|
constexpr |
Checks whether T is a big_list_array type.
Definition at line 97 of file list_array.hpp.
|
constexpr |
Checks whether T is a big_list_view_array type.
Definition at line 109 of file list_array.hpp.
|
constexpr |
Checks whether T is a big_string_array type.
Definition at line 201 of file variable_size_binary_array.hpp.
|
constexpr |
Checks whether T is a binary_array type.
Definition at line 207 of file variable_size_binary_array.hpp.
|
constexpr |
Checks whether T is a date_array type.
Definition at line 85 of file date_array.hpp.
|
constexpr |
Type trait to check if a type is a decimal array.
T | The type to check. |
Definition at line 142 of file decimal_array.hpp.
|
constexpr |
Type trait to check if a type is a decimal instantiation.
T | Type to check |
Definition at line 245 of file decimal.hpp.
|
constexpr |
Type trait to check if a type is a dense_union_array.
T | Type to check |
Definition at line 69 of file union_array.hpp.
|
constexpr |
Checks whether T is a dictionary_encoded_array type.
T | The type to check. |
Definition at line 136 of file dictionary_encoded_array.hpp.
|
constexpr |
Checks whether T is a duration_array type.
Definition at line 108 of file duration_array.hpp.
|
constexpr |
Checks whether T is a fixed_sized_list_array type.
Definition at line 115 of file list_array.hpp.
|
constexpr |
Definition at line 82 of file large_int.hpp.
|
constexpr |
Checks whether T is a interval_array type.
Definition at line 97 of file interval_array.hpp.
|
constexpr |
Checks whether T is a list_array type.
Definition at line 91 of file list_array.hpp.
|
constexpr |
Checks whether T is a list_view_array type.
Definition at line 103 of file list_array.hpp.
|
constexpr |
Definition at line 44 of file map_array.hpp.
|
constexpr |
Definition at line 856 of file buffer.hpp.
|
constexpr |
Type trait to check if a type is a null_array.
T | Type to check |
Definition at line 159 of file null_array.hpp.
|
inlineconstexpr |
Definition at line 62 of file nullable.hpp.
|
inlineconstexpr |
Definition at line 1137 of file nullable.hpp.
|
constexpr |
Checkes whether T is a primitive_array type.
Definition at line 79 of file primitive_array.hpp.
|
constexpr |
Checks whether T is a run_end_encoded_array type.
Definition at line 44 of file run_end_encoded_array.hpp.
|
constexpr |
Type trait to check if a type is a sparse_union_array.
T | Type to check |
Definition at line 77 of file union_array.hpp.
|
constexpr |
Checks whether T is a string_array type.
Definition at line 195 of file variable_size_binary_array.hpp.
|
constexpr |
Type trait to check if a type is a struct_array.
T | Type to check |
Definition at line 73 of file struct_array.hpp.
|
constexpr |
Checks whether T is a time_array type.
Definition at line 107 of file time_array.hpp.
|
constexpr |
Variable template for convenient access to is_timestamp_array.
T | Type to check |
Definition at line 87 of file timestamp_array.hpp.
|
constexpr |
Checks whether T is a timestamp_without_timezone_array type.
Definition at line 105 of file timestamp_without_timezone_array.hpp.
|
constexpr |
Checks whether T is a variable_size_binary_view_array_impl type.
Definition at line 113 of file variable_size_binary_view_array.hpp.
|
constexpr |
Definition at line 83 of file large_int.hpp.
|
inlineconstexpr |
Definition at line 72 of file builder.hpp.
|
inlineconstexpr |
Useful shortcut value to specify full owning of handled Arrow data.
Definition at line 104 of file c_interface.hpp.
|
constexpr |
Definition at line 25 of file sparrow_version.hpp.
|
constexpr |
Definition at line 23 of file sparrow_version.hpp.
|
constexpr |
Definition at line 24 of file sparrow_version.hpp.
|
constexpr |
Definition at line 19 of file sparrow_version.hpp.
|
constexpr |
Definition at line 20 of file sparrow_version.hpp.
|
constexpr |
Definition at line 21 of file sparrow_version.hpp.