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

Function FormatMessageType

cpp/src/arrow/ipc/message.cc:267–283  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267std::string FormatMessageType(MessageType type) {
268 switch (type) {
269 case MessageType::SCHEMA:
270 return "schema";
271 case MessageType::RECORD_BATCH:
272 return "record batch";
273 case MessageType::DICTIONARY_BATCH:
274 return "dictionary";
275 case MessageType::TENSOR:
276 return "tensor";
277 case MessageType::SPARSE_TENSOR:
278 return "sparse tensor";
279 default:
280 break;
281 }
282 return "unknown";
283}
284
285namespace {
286

Callers 1

InvalidMessageTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected