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

Method WritePrimitiveValues

cpp/src/arrow/pretty_print.cc:195–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

193
194 template <typename ArrayType, typename Formatter>
195 Status WritePrimitiveValues(const ArrayType& array, Formatter* formatter) {
196 auto appender = [&](std::string_view v) { Write(v); };
197 auto format_func = [&](int64_t i) {
198 (*formatter)(array.GetView(i), appender);
199 return Status::OK();
200 };
201 return WriteValues(array, std::move(format_func));
202 }
203
204 template <typename ArrayType, typename T = typename ArrayType::TypeClass>
205 Status WritePrimitiveValues(const ArrayType& array) {

Callers

nothing calls this directly

Calls 5

WriteFunction · 0.85
OKFunction · 0.70
GetViewMethod · 0.45
getMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected