MCPcopy Create free account
hub / github.com/apache/arrow / GetFlatbufMessage

Method GetFlatbufMessage

cpp/src/arrow/ipc/reader.cc:1767–1774  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1765 }
1766
1767 Result<const flatbuf::Message*> GetFlatbufMessage(
1768 const std::shared_ptr<Message>& message) {
1769 const Buffer& metadata = *message->metadata();
1770 const flatbuf::Message* flatbuf_message = nullptr;
1771 RETURN_NOT_OK(
1772 internal::VerifyMessage(metadata.data(), metadata.size(), &flatbuf_message));
1773 return flatbuf_message;
1774 }
1775
1776 struct CachedRecordBatchReadContext {
1777 CachedRecordBatchReadContext(std::shared_ptr<Schema> sch,

Callers

nothing calls this directly

Calls 4

VerifyMessageFunction · 0.85
metadataMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected