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

Method ToString

cpp/src/arrow/type.cc:358–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

356}
357
358std::string Field::MergeOptions::ToString() const {
359 std::stringstream ss;
360 ss << "MergeOptions{";
361 ss << "promote_nullability=" << (promote_nullability ? "true" : "false");
362 ss << ", promote_decimal=" << (promote_decimal ? "true" : "false");
363 ss << ", promote_decimal_to_float=" << (promote_decimal_to_float ? "true" : "false");
364 ss << ", promote_integer_to_decimal="
365 << (promote_integer_to_decimal ? "true" : "false");
366 ss << ", promote_integer_to_float=" << (promote_integer_to_float ? "true" : "false");
367 ss << ", promote_integer_sign=" << (promote_integer_sign ? "true" : "false");
368 ss << ", promote_numeric_width=" << (promote_numeric_width ? "true" : "false");
369 ss << ", promote_binary=" << (promote_binary ? "true" : "false");
370 ss << ", promote_temporal_unit=" << (promote_temporal_unit ? "true" : "false");
371 ss << ", promote_list=" << (promote_list ? "true" : "false");
372 ss << ", promote_dictionary=" << (promote_dictionary ? "true" : "false");
373 ss << ", promote_dictionary_ordered="
374 << (promote_dictionary_ordered ? "true" : "false");
375 ss << '}';
376 return ss.str();
377}
378
379namespace {
380// Utilities for Field::MergeWith

Calls 15

nameMethod · 0.95
key_fieldFunction · 0.85
item_fieldFunction · 0.85
run_end_typeFunction · 0.85
ToCharsFunction · 0.85
EndiannessToStringFunction · 0.85
strMethod · 0.80
indicesMethod · 0.80
backMethod · 0.80
nameFunction · 0.70
sizeMethod · 0.45
nameMethod · 0.45

Tested by 15

TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TestCastMethod · 0.36
CheckListCastErrorFunction · 0.36
TestBasicsMethod · 0.36
TestCastMethod · 0.36
TestCastMethod · 0.36
TestBasicsMethod · 0.36
TestValidateErrorsMethod · 0.36
TESTFunction · 0.36