Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Classes | Namespaces | Macros | Enumerations
status.h File Reference
#include <cstring>
#include <iosfwd>
#include <string>
#include "arrow/util/macros.h"
#include "arrow/util/visibility.h"

Go to the source code of this file.

Classes

class  arrow::Status
 

Namespaces

 arrow
 Top-level namespace for Apache Arrow C++ API.
 

Macros

#define RETURN_NOT_OK(s)
 
#define RETURN_NOT_OK_ELSE(s, else_)
 
#define ARROW_RETURN_NOT_OK(s)   RETURN_NOT_OK(s)
 

Enumerations

enum  arrow::StatusCode : char {
  arrow::StatusCode::OK = 0, arrow::StatusCode::OutOfMemory = 1, arrow::StatusCode::KeyError = 2, arrow::StatusCode::TypeError = 3,
  arrow::StatusCode::Invalid = 4, arrow::StatusCode::IOError = 5, arrow::StatusCode::CapacityError = 6, arrow::StatusCode::UnknownError = 9,
  arrow::StatusCode::NotImplemented = 10, arrow::StatusCode::SerializationError = 11, arrow::StatusCode::PythonError = 12, arrow::StatusCode::PlasmaObjectExists = 20,
  arrow::StatusCode::PlasmaObjectNonexistent = 21, arrow::StatusCode::PlasmaStoreFull = 22, arrow::StatusCode::PlasmaObjectAlreadySealed = 23
}
 

Macro Definition Documentation

◆ ARROW_RETURN_NOT_OK

#define ARROW_RETURN_NOT_OK (   s)    RETURN_NOT_OK(s)

◆ RETURN_NOT_OK

#define RETURN_NOT_OK (   s)
Value:
do { \
::arrow::Status _s = (s); \
if (ARROW_PREDICT_FALSE(!_s.ok())) { \
return _s; \
} \
} while (false)
#define ARROW_PREDICT_FALSE(x)
Definition: macros.h:48
Definition: status.h:93
bool ok() const
Definition: status.h:162

◆ RETURN_NOT_OK_ELSE

#define RETURN_NOT_OK_ELSE (   s,
  else_ 
)
Value:
do { \
::arrow::Status _s = (s); \
if (!_s.ok()) { \
else_; \
return _s; \
} \
} while (false)
Definition: status.h:93
bool ok() const
Definition: status.h:162