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

Method GetFlatbufMessage

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

Source from the content-addressed store, hash-verified

1793 }
1794
1795 Result<const flatbuf::Message*> GetFlatbufMessage(
1796 const std::shared_ptr<Message>& message) {
1797 const Buffer& metadata = *message->metadata();
1798 const flatbuf::Message* flatbuf_message = nullptr;
1799 RETURN_NOT_OK(
1800 internal::VerifyMessage(metadata.data(), metadata.size(), &flatbuf_message));
1801 return flatbuf_message;
1802 }
1803
1804 struct CachedRecordBatchReadContext {
1805 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