sparrow-ipc 0.2.0
Loading...
Searching...
No Matches
deserialize_utils.hpp File Reference
#include <span>
#include <utility>
#include <vector>
#include <sparrow/buffer/dynamic_bitset/dynamic_bitset_view.hpp>
#include <sparrow/u8_buffer.hpp>
#include "Message_generated.h"
Include dependency graph for deserialize_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

std::pair< std::uint8_t *, int64_t > sparrow_ipc::utils::get_bitmap_pointer_and_null_count (std::span< const uint8_t > validity_buffer_span, const int64_t length)
 Extracts bitmap pointer and null count from a validity buffer span.
 
std::span< const uint8_t > sparrow_ipc::utils::get_buffer (const org::apache::arrow::flatbuf::RecordBatch &record_batch, std::span< const uint8_t > body, size_t &buffer_index)
 Extracts a buffer from a RecordBatch's body.
 
std::variant< std::vector< std::uint8_t >, std::span< const std::uint8_t > > sparrow_ipc::utils::get_decompressed_buffer (std::span< const uint8_t > buffer_span, const org::apache::arrow::flatbuf::BodyCompression *compression)
 Retrieves a decompressed buffer or a view of the original buffer.