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

Go to the source code of this file.

Classes

class  arrow::py::PyAcquireGIL
 
class  arrow::py::OwnedRef
 
class  arrow::py::ScopedRef
 
struct  arrow::py::PyObjectStringify
 
class  arrow::py::PyBuffer
 

Namespaces

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

Macros

#define PYARROW_IS_PY2   PY_MAJOR_VERSION <= 2
 
#define RETURN_IF_PYERROR()   RETURN_NOT_OK(CheckPyError());
 
#define PY_RETURN_IF_ERROR(CODE)   RETURN_NOT_OK(CheckPyError(CODE));
 

Functions

Status arrow::py::CheckPyError (StatusCode code=StatusCode::UnknownError)
 
Status arrow::py::PassPyError ()
 
void arrow::py::set_default_memory_pool (MemoryPool *pool)
 
MemoryPool * arrow::py::get_memory_pool ()
 

Macro Definition Documentation

◆ PY_RETURN_IF_ERROR

#define PY_RETURN_IF_ERROR (   CODE)    RETURN_NOT_OK(CheckPyError(CODE));

◆ PYARROW_IS_PY2

#define PYARROW_IS_PY2   PY_MAJOR_VERSION <= 2

◆ RETURN_IF_PYERROR

#define RETURN_IF_PYERROR ( )    RETURN_NOT_OK(CheckPyError());