sparrow-ipc 0.2.0
Loading...
Searching...
No Matches
utils.hpp File Reference
#include <cstdint>
#include <optional>
#include <string_view>
#include <sparrow/record_batch.hpp>
#include "sparrow_ipc/config/config.hpp"
Include dependency graph for utils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sparrow_ipc
 
namespace  sparrow_ipc::utils
 

Functions

SPARROW_IPC_API size_t sparrow_ipc::utils::align_to_8 (const size_t n)
 
template<std::ranges::input_range R>
requires std::same_as<std::ranges::range_value_t<R>, sparrow::record_batch>
bool sparrow_ipc::utils::check_record_batches_consistency (const R &record_batches)
 Checks if all record batches in a collection have consistent structure.
 
std::optional< int32_t > sparrow_ipc::utils::parse_format (std::string_view format_str, std::string_view sep)