Skip to main content

ColumnSource

ColumnSource

Describes one column source with a name and a provider function. More…

#include <LazyColumnTensorStorage.hpp>

Public Attributes

Name
std::string name
Column name.
ColumnProviderFn provider
Produces num_rows floats.
std::optional< std::vector< float > > cache
Populated on first access.

Detailed Description

struct ColumnSource;

Describes one column source with a name and a provider function.

The provider is called lazily on first access (or after invalidation). The result is cached until explicitly invalidated.

Public Attributes Documentation

variable name

std::string name;

Column name.

variable provider

ColumnProviderFn provider;

Produces num_rows floats.

variable cache

std::optional< std::vector< float > > cache;

Populated on first access.


Updated on 2026-11-13 at 20:25:39 +0000