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

Method ToIntegerString

cpp/src/arrow/util/decimal.cc:517–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515}
516
517std::string Decimal32::ToIntegerString() const {
518 std::string result;
519 internal::StringFormatter<Int32Type> format;
520 format(value_, [&result](std::string_view formatted) {
521 result.append(formatted.data(), formatted.size());
522 });
523 return result;
524}
525
526Decimal32::operator int64_t() const { return static_cast<int64_t>(value_); }
527

Callers 8

garrow_decimal_to_stringFunction · 0.80
VisitMethod · 0.80
WriteDataValuesMethod · 0.80
ValidateDecimalsMethod · 0.80
decimal.ccFile · 0.80
TESTFunction · 0.80
VisitMethod · 0.80

Calls 12

formatFunction · 0.85
high_bitsFunction · 0.85
low_bitsFunction · 0.85
IsNegativeFunction · 0.85
FromNativeFunction · 0.85
native_endian_arrayFunction · 0.85
push_backMethod · 0.80
NegateMethod · 0.80
appendMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by 2

TESTFunction · 0.64