iceberg-cpp
Loading...
Searching...
No Matches
iceberg::ArrowArrayStreamProvider Concept Reference

Concept for sources that can be wrapped as ArrowArrayStreams. More...

#include <arrow_c_data_util_internal.h>

Concept definition

template<typename Source>
concept iceberg::ArrowArrayStreamProvider = requires(Source& source) {
{ source.Close() } -> std::same_as<Status>;
{ source.Next() } -> std::same_as<Result<std::optional<ArrowArray>>>;
{ source.Schema() } -> std::same_as<Result<ArrowSchema>>;
}
Concept for sources that can be wrapped as ArrowArrayStreams.
Definition arrow_c_data_util_internal.h:116

Detailed Description

Concept for sources that can be wrapped as ArrowArrayStreams.