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

Function PrintTo

cpp/src/arrow/datum.cc:255–266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255void PrintTo(const Datum& datum, std::ostream* os) {
256 switch (datum.kind()) {
257 case Datum::SCALAR:
258 *os << datum.scalar()->ToString();
259 break;
260 case Datum::ARRAY:
261 *os << datum.make_array()->ToString();
262 break;
263 default:
264 *os << datum.ToString();
265 }
266}
267
268std::string ToString(Datum::Kind kind) {
269 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