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

Method status

cpp/src/arrow/result.h:305–310  ·  view source on GitHub ↗

Gets the stored status object, or an OK status if a `T` value is stored. \return The stored non-OK status object, or an OK status if this object has a value.

Source from the content-addressed store, hash-verified

303 /// \return The stored non-OK status object, or an OK status if this object
304 /// has a value.
305 Status status() && {
306 if (ARROW_PREDICT_TRUE(ok())) return Status::OK();
307 auto tmp = internal::UninitializedResult();
308 std::swap(status_, tmp);
309 return tmp;
310 }
311
312 /// Gets the stored `T` value.
313 ///

Callers 15

garrow_execute_plan_waitFunction · 0.45
checkFunction · 0.45
GetResultValueFunction · 0.45
WrapResultFunction · 0.45
MergeWithMethod · 0.45
AreCompatibleMethod · 0.45
TYPED_TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
ValueMethod · 0.45

Calls 4

okFunction · 0.85
UninitializedResultFunction · 0.85
swapFunction · 0.85
OKFunction · 0.70

Tested by 11

TYPED_TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TryReadDataFileFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TEST_FFunction · 0.36
TestSafeCallIntoRFunction · 0.36