sparrow-ipc 0.2.0
Loading...
Searching...
No Matches
stream_file_serializer.hpp File Reference
#include <cstddef>
#include <numeric>
#include <optional>
#include <vector>
#include <sparrow/record_batch.hpp>
#include "sparrow_ipc/any_output_stream.hpp"
#include "sparrow_ipc/compression.hpp"
#include "sparrow_ipc/config/config.hpp"
#include "sparrow_ipc/magic_values.hpp"
#include "sparrow_ipc/serialize.hpp"
#include "sparrow_ipc/serialize_utils.hpp"
Include dependency graph for stream_file_serializer.hpp:

Go to the source code of this file.

Classes

struct  sparrow_ipc::record_batch_block
 Represents a block entry in the Arrow IPC file footer. More...
 
class  sparrow_ipc::stream_file_serializer
 A class for serializing Apache Arrow record batches to the IPC file format. More...
 

Namespaces

namespace  sparrow_ipc
 

Functions

SPARROW_IPC_API size_t sparrow_ipc::write_footer (const sparrow::record_batch &record_batch, const std::vector< record_batch_block > &record_batch_blocks, any_output_stream &stream)
 Writes the Arrow IPC file footer.
 
SPARROW_IPC_API std::vector< sparrow::record_batch > sparrow_ipc::deserialize_file (std::span< const uint8_t > data)
 Deserializes Arrow IPC file format into a vector of record batches.
 
stream_file_serializersparrow_ipc::end_file (stream_file_serializer &serializer)