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

Method GetFlatbufMessage

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

Source from the content-addressed store, hash-verified

1778 }
1779
1780 Result<const flatbuf::Message*> GetFlatbufMessage(
1781 const std::shared_ptr<Message>& message) {
1782 const Buffer& metadata = *message->metadata();
1783 const flatbuf::Message* flatbuf_message = nullptr;
1784 RETURN_NOT_OK(
1785 internal::VerifyMessage(metadata.data(), metadata.size(), &flatbuf_message));
1786 return flatbuf_message;
1787 }
1788
1789 struct CachedRecordBatchReadContext {
1790 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