OmniSciDB  72180abbfe
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ArrowUtil.h File Reference
#include "arrow/status.h"
#include "arrow/util/macros.h"
#include "Shared/likely.h"
#include "DataMgr/BufferMgr/BufferMgr.h"
+ Include dependency graph for ArrowUtil.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ARROW_THROW_NOT_OK(s)
 

Functions

void arrow_status_throw (const ::arrow::Status &s)
 

Macro Definition Documentation

Function Documentation

void arrow_status_throw ( const ::arrow::Status &  s)
inline

Definition at line 27 of file ArrowUtil.h.

27  {
28  std::string message = s.ToString();
29  switch (s.code()) {
30  case ::arrow::StatusCode::OutOfMemory:
31  throw OutOfMemory(message);
32  default:
33  throw std::runtime_error(message);
34  }
35 }