a column of Arrow of numbers of type \( T \), taken without copy: its values stay in the memory of its producer, which this object releases when destroyed
More...
#include <ADS/interop/arrow/Arrow.h>
|
| | ArrowColumn (ArrowArray *a, const ArrowSchema &s) |
| | the column \( *a \) of type \( s \), moved here: \( *a \) is left released, and \( s \) is only read
|
| | ArrowColumn (const ArrowColumn &)=delete |
| | no copy, since the column has one owner
|
| ArrowColumn & | operator= (const ArrowColumn &)=delete |
| | no copy, since the column has one owner
|
| | ArrowColumn (ArrowColumn &&o) noexcept |
| | the column of \( o \), which is left with none
|
| ArrowColumn & | operator= (ArrowColumn &&o) noexcept |
| | the column of \( o \), which is left with none, this one released
|
| | ~ArrowColumn (void) |
| | the column released by its producer
|
| std::span< const T > | values (void) const |
| | the values, in the memory of the producer
|
| std::size_t | size (void) const |
| | the number of the values
|
| T | operator[] (std::size_t i) const |
| | the value \( i \)
|
| const T * | begin (void) const |
| | the first value
|
| const T * | end (void) const |
| | past the last value
|
template<ArrowNumber T>
class ADS::ArrowColumn< T >
a column of Arrow of numbers of type \( T \), taken without copy: its values stay in the memory of its producer, which this object releases when destroyed
◆ ArrowColumn() [1/3]
the column \( *a \) of type \( s \), moved here: \( *a \) is left released, and \( s \) is only read
- Exceptions
-
| std::invalid_argument | if the column is released, has nulls or children, or is not of the format of \( T \) |
◆ ArrowColumn() [2/3]
no copy, since the column has one owner
◆ ArrowColumn() [3/3]
the column of \( o \), which is left with none
◆ ~ArrowColumn()
the column released by its producer
◆ begin()
◆ end()
◆ operator=() [1/2]
the column of \( o \), which is left with none, this one released
◆ operator=() [2/2]
no copy, since the column has one owner
◆ operator[]()
the value \( i \)
- Precondition
- \( i < \) size()
◆ size()
◆ values()
the values, in the memory of the producer
The documentation for this class was generated from the following file: