sparrow 0.3.0
Loading...
Searching...
No Matches
array_api.hpp File Reference
Include dependency graph for array_api.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sparrow::array
 Dynamically typed array encapsulating an Arrow layout. More...
 

Namespaces

namespace  sparrow
 

Concepts

concept  sparrow::layout_or_array
 

Functions

SPARROW_API bool sparrow::operator== (const array &lhs, const array &rhs)
 Compares the content of two arrays.
 
template<layout_or_array A>
bool sparrow::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 sparrow::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>
ArrowArraysparrow::get_arrow_array (A &a)
 Returns a pointer to the internal ArrowArray of the given array or layout.
 
template<layout_or_array A>
ArrowSchemasparrow::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 * > sparrow::get_arrow_structures (A &a)
 Returns pointers to the internal ArrowArray and ArrowSchema of the given Array or layout.
 
template<layout_or_array A>
ArrowArray sparrow::extract_arrow_array (A &&a)
 Extracts the internal ArrowArray structure from the given Array or typed layout.
 
template<layout_or_array A>
ArrowSchema sparrow::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, ArrowSchemasparrow::extract_arrow_structures (A &&a)
 Extracts the internal ArrowArrays and ArrowSchema structures from the given array or typed layout.