sparrow-ipc 0.2.0
Loading...
Searching...
No Matches
sparrow_ipc::encapsulated_message Class Reference

#include <encapsulated_message.hpp>

Public Member Functions

 encapsulated_message (std::span< const uint8_t > data)
 
const org::apache::arrow::flatbuf::Message * flat_buffer_message () const
 
size_t metadata_length () const
 
std::variant< const org::apache::arrow::flatbuf::Schema *, const org::apache::arrow::flatbuf::RecordBatch *, const org::apache::arrow::flatbuf::Tensor *, const org::apache::arrow::flatbuf::DictionaryBatch *, const org::apache::arrow::flatbuf::SparseTensor * > metadata () const
 
const ::flatbuffers::Vector<::flatbuffers::Offset< org::apache::arrow::flatbuf::KeyValue > > * custom_metadata () const
 
size_t body_length () const
 
std::span< const uint8_t > body () const
 
size_t total_length () const
 
std::span< const uint8_t > as_span () const
 

Detailed Description

Definition at line 11 of file encapsulated_message.hpp.

Constructor & Destructor Documentation

◆ encapsulated_message()

sparrow_ipc::encapsulated_message::encapsulated_message ( std::span< const uint8_t > data)

Member Function Documentation

◆ as_span()

std::span< const uint8_t > sparrow_ipc::encapsulated_message::as_span ( ) const
nodiscard

◆ body()

std::span< const uint8_t > sparrow_ipc::encapsulated_message::body ( ) const
nodiscard

◆ body_length()

size_t sparrow_ipc::encapsulated_message::body_length ( ) const
nodiscard

◆ custom_metadata()

const ::flatbuffers::Vector<::flatbuffers::Offset< org::apache::arrow::flatbuf::KeyValue > > * sparrow_ipc::encapsulated_message::custom_metadata ( ) const
nodiscard

◆ flat_buffer_message()

const org::apache::arrow::flatbuf::Message * sparrow_ipc::encapsulated_message::flat_buffer_message ( ) const
nodiscard

◆ metadata()

std::variant< const org::apache::arrow::flatbuf::Schema *, const org::apache::arrow::flatbuf::RecordBatch *, const org::apache::arrow::flatbuf::Tensor *, const org::apache::arrow::flatbuf::DictionaryBatch *, const org::apache::arrow::flatbuf::SparseTensor * > sparrow_ipc::encapsulated_message::metadata ( ) const
nodiscard

◆ metadata_length()

size_t sparrow_ipc::encapsulated_message::metadata_length ( ) const
nodiscard

◆ total_length()

size_t sparrow_ipc::encapsulated_message::total_length ( ) const
nodiscard

The documentation for this class was generated from the following file: