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

Function ValueOrStop

r/src/arrow_types.h:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118
119template <typename R>
120auto ValueOrStop(R&& result) -> decltype(std::forward<R>(result).ValueOrDie()) {
121 StopIfNotOk(result.status());
122 return std::forward<R>(result).ValueOrDie();
123}
124
125namespace r {
126class RTasks;

Callers 15

ExecPlan_createFunction · 0.85
MakeExecNodeOrStopFunction · 0.85
ExecPlanReader__batchesFunction · 0.85
ExecPlan_run_substraitFunction · 0.85
csv___TableReader__MakeFunction · 0.85
csv___TableReader__ReadFunction · 0.85
Converter_DictionaryMethod · 0.85
Converter_StructMethod · 0.85
Ingest_some_nullsMethod · 0.85

Calls 3

StopIfNotOkFunction · 0.85
ValueOrDieMethod · 0.80
statusMethod · 0.45

Tested by 1

TestSafeCallIntoRFunction · 0.68