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

Function PrintTo

cpp/src/arrow/datum.cc:240–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void PrintTo(const Datum& datum, std::ostream* os) {
241 switch (datum.kind()) {
242 case Datum::SCALAR:
243 *os << datum.scalar()->ToString();
244 break;
245 case Datum::ARRAY:
246 *os << datum.make_array()->ToString();
247 break;
248 default:
249 *os << datum.ToString();
250 }
251}
252
253std::string ToString(Datum::Kind kind) {
254 switch (kind) {

Callers

nothing calls this directly

Calls 4

make_arrayMethod · 0.80
kindMethod · 0.45
ToStringMethod · 0.45
scalarMethod · 0.45

Tested by

no test coverage detected