sparrow 2.2.1
C++20 idiomatic APIs for the Apache Arrow Columnar Format
Loading...
Searching...
No Matches
sparrow::copy_tracker Namespace Reference

Functions

template<>
std::string key< ArrowArray > ()
 
template<>
std::string key< ArrowSchema > ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, sparrow::buffer>
std::string key ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, buffer_view>
std::string key ()
 
template<class T>
std::string key ()
 
constexpr bool is_enabled ()
 
SPARROW_API void increase (const std::string &key)
 
SPARROW_API void reset (const std::string &key)
 
SPARROW_API void reset_all ()
 
SPARROW_API int count (const std::string &key, int disabled_value=0)
 
SPARROW_API std::vector< std::string > key_list ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, decimal_array>
std::string key ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, dictionary_encoded_array>
std::string key ()
 
template<>
std::string key< fixed_width_binary_array > ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, primitive_array_impl>
std::string key ()
 
template<typename T>
requires std::same_as<T, list_array_impl<false>> || std::same_as<T, list_array_impl<true>>
std::string key ()
 
template<typename T>
requires std::same_as<T, list_view_array_impl<false>> || std::same_as<T, list_view_array_impl<true>>
std::string key ()
 
template<>
std::string key< fixed_sized_list_array > ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, timestamp_array>
std::string key ()
 
template<typename T>
std::string key_u8_buffer ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, variable_size_binary_array_impl>
std::string key ()
 
template<typename T>
requires mpl::is_type_instance_of_v<T, variable_size_binary_view_array_impl>
std::string key ()
 

Function Documentation

◆ count()

SPARROW_API int sparrow::copy_tracker::count ( const std::string & key,
int disabled_value = 0 )
Here is the call graph for this function:

◆ increase()

SPARROW_API void sparrow::copy_tracker::increase ( const std::string & key)
Examples
/home/runner/work/sparrow/sparrow/include/sparrow/fixed_width_binary_array.hpp, /home/runner/work/sparrow/sparrow/include/sparrow/layout/primitive_array_impl.hpp, and /home/runner/work/sparrow/sparrow/include/sparrow/variable_size_binary_view_array.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ is_enabled()

bool sparrow::copy_tracker::is_enabled ( )
constexpr

Definition at line 13 of file copy_tracker.hpp.

◆ key() [1/11]

template<typename T>
requires mpl::is_type_instance_of_v<T, sparrow::buffer>
std::string sparrow::copy_tracker::key ( )
Examples
/home/runner/work/sparrow/sparrow/include/sparrow/fixed_width_binary_array.hpp, /home/runner/work/sparrow/sparrow/include/sparrow/layout/primitive_array_impl.hpp, and /home/runner/work/sparrow/sparrow/include/sparrow/variable_size_binary_view_array.hpp.

Definition at line 49 of file buffer.hpp.

Here is the caller graph for this function:

◆ key() [2/11]

template<typename T>
requires mpl::is_type_instance_of_v<T, buffer_view>
std::string sparrow::copy_tracker::key ( )

Definition at line 31 of file buffer_view.hpp.

◆ key() [3/11]

template<class T>
std::string sparrow::copy_tracker::key ( )

Definition at line 49 of file buffer.hpp.

Here is the caller graph for this function:

◆ key() [4/11]

template<typename T>
requires mpl::is_type_instance_of_v<T, decimal_array>
std::string sparrow::copy_tracker::key ( )

Definition at line 49 of file decimal_array.hpp.

◆ key() [5/11]

template<typename T>
requires mpl::is_type_instance_of_v<T, dictionary_encoded_array>
std::string sparrow::copy_tracker::key ( )

Definition at line 99 of file dictionary_encoded_array.hpp.

◆ key() [6/11]

template<typename T>
requires mpl::is_type_instance_of_v<T, primitive_array_impl>
std::string sparrow::copy_tracker::key ( )

Definition at line 39 of file primitive_array_impl.hpp.

◆ key() [7/11]

template<typename T>
requires std::same_as<T, list_array_impl<false>> || std::same_as<T, list_array_impl<true>>
std::string sparrow::copy_tracker::key ( )

Definition at line 52 of file list_array.hpp.

◆ key() [8/11]

template<typename T>
requires std::same_as<T, list_view_array_impl<false>> || std::same_as<T, list_view_array_impl<true>>
std::string sparrow::copy_tracker::key ( )

Definition at line 59 of file list_array.hpp.

◆ key() [9/11]

template<typename T>
requires mpl::is_type_instance_of_v<T, timestamp_array>
std::string sparrow::copy_tracker::key ( )

Definition at line 49 of file timestamp_array.hpp.

◆ key() [10/11]

std::string sparrow::copy_tracker::key ( )

Definition at line 94 of file variable_size_binary_array.hpp.

◆ key() [11/11]

std::string sparrow::copy_tracker::key ( )

Definition at line 50 of file variable_size_binary_view_array.hpp.

◆ key< ArrowArray >()

template<>
std::string sparrow::copy_tracker::key< ArrowArray > ( )
inline

Definition at line 36 of file arrow_array.hpp.

◆ key< ArrowSchema >()

template<>
std::string sparrow::copy_tracker::key< ArrowSchema > ( )
inline

Definition at line 42 of file arrow_schema.hpp.

◆ key< fixed_sized_list_array >()

template<>
std::string sparrow::copy_tracker::key< fixed_sized_list_array > ( )
inline

Definition at line 108 of file list_array.hpp.

◆ key< fixed_width_binary_array >()

◆ key_list()

SPARROW_API std::vector< std::string > sparrow::copy_tracker::key_list ( )

◆ key_u8_buffer()

template<typename T>
std::string sparrow::copy_tracker::key_u8_buffer ( )

Definition at line 31 of file u8_buffer.hpp.

Here is the caller graph for this function:

◆ reset()

SPARROW_API void sparrow::copy_tracker::reset ( const std::string & key)
Here is the call graph for this function:

◆ reset_all()

SPARROW_API void sparrow::copy_tracker::reset_all ( )