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

Function ToInteger

cpp/src/arrow/util/decimal.h:134–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 /// \brief Convert to a signed integer
133 template <typename T, typename = internal::EnableIfIsOneOf<T, int32_t, int64_t>>
134 Result<T> ToInteger() const {
135 return static_cast<T>(value_);
136 }
137
138 /// \brief Convert to a signed integer
139 template <typename T, typename = internal::EnableIfIsOneOf<T, int32_t, int64_t>>

Callers

nothing calls this directly

Calls 3

low_bitsFunction · 0.85
InvalidFunction · 0.50
ValueMethod · 0.45

Tested by

no test coverage detected