MCPcopy Create free account
hub / github.com/apache/impala / value

Method value

be/src/runtime/decimal-value.h:184–184  ·  view source on GitHub ↗

Returns a copy of the underlying storage. We cannot return a reference or pointer because it may be unaligned (this class is packed) and unaligned pointers may lead to undefined behaviour. For a particular storage size, there is only one representation for any decimal and the storage is directly comparable.

Source from the content-addressed store, hash-verified

182 /// For a particular storage size, there is
183 /// only one representation for any decimal and the storage is directly comparable.
184 inline T value() const { return value_; }
185
186 /// Sets the underlying storage to the given value.
187 inline void set_value(T value) {

Callers 15

ToJsonMethod · 0.45
TESTFunction · 0.45
decimal-value.hFile · 0.45
EqMethod · 0.45
FilterDebugStringMethod · 0.45
UpdateFilterMethod · 0.45
PrintWarningsMethod · 0.45
TEST_FFunction · 0.45
peak_consumptionMethod · 0.45
GetStatusReportMethod · 0.45

Calls

no outgoing calls

Tested by 5

TESTFunction · 0.36
TEST_FFunction · 0.36
CheckMetricsMethod · 0.36
TestEvictionPolicyMethod · 0.36