Lightweight non-owning view over one DataFrame column.
More...
#include <data_frame.hpp>
|
| | DataFrameColumn (const DataFrame< KeyType > *frame, size_t col_index) |
| |
| const std::string & | name () const |
| | Column name.
|
| |
| size_t | index () const noexcept |
| | Zero-based column position.
|
| |
| size_t | size () const noexcept |
| | Number of rows in the parent batch.
|
| |
| bool | empty () const noexcept |
| | Whether the parent batch contains no rows.
|
| |
| DataFrameCell | operator[] (size_t row_index) const |
| | Access a visible cell value by row index.
|
| |
| csv::string_view | get_sv (size_t row_index) const |
| | Access a visible cell value as a string_view without materializing a DataFrameCell.
|
| |
| template<typename T = std::string> |
| std::vector< T > | to_vector () const |
| | Materialize this column as a vector of converted values.
|
| |
| | operator std::vector< std::string > () const |
| | Convert to a vector of strings.
|
| |
| auto | to_sv_range () const |
| | Convert this DataFrameColumn into a std::ranges::input_range of strings.
|
| |
| iterator | begin () const |
| | Iterate over visible cells in this column.
|
| |
| iterator | end () const |
| |
| const_iterator | cbegin () const |
| |
| const_iterator | cend () const |
| |
template<typename KeyType>
class csv::DataFrameColumn< KeyType >
Lightweight non-owning view over one DataFrame column.
Definition at line 750 of file data_frame.hpp.
◆ const_iterator
template<typename KeyType >
◆ iterator
template<typename KeyType >
◆ DataFrameColumn() [1/2]
template<typename KeyType >
◆ DataFrameColumn() [2/2]
template<typename KeyType >
◆ begin()
template<typename KeyType >
Iterate over visible cells in this column.
Definition at line 842 of file data_frame.hpp.
◆ cbegin()
template<typename KeyType >
◆ cend()
template<typename KeyType >
◆ empty()
template<typename KeyType >
Whether the parent batch contains no rows.
Definition at line 782 of file data_frame.hpp.
◆ end()
template<typename KeyType >
◆ get_sv()
template<typename KeyType >
Access a visible cell value as a string_view without materializing a DataFrameCell.
Intended for immediate read-only scans. If the value comes from the sparse edit overlay, the returned view points into overlay-owned storage and must not be retained across DataFrame mutation.
Definition at line 799 of file data_frame.hpp.
◆ index()
template<typename KeyType >
◆ name()
template<typename KeyType >
◆ operator std::vector< std::string >()
template<typename KeyType >
◆ operator[]()
template<typename KeyType >
Access a visible cell value by row index.
Definition at line 787 of file data_frame.hpp.
◆ size()
template<typename KeyType >
◆ to_sv_range()
template<typename KeyType >
◆ to_vector()
template<typename KeyType >
template<typename T = std::string>
Materialize this column as a vector of converted values.
Definition at line 812 of file data_frame.hpp.
The documentation for this class was generated from the following file: