Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Namespaces | Macros
logging.h File Reference
#include <cstdlib>
#include <iostream>
#include "arrow/util/macros.h"

Go to the source code of this file.

Namespaces

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

Macros

#define ARROW_DEBUG   (-1)
 
#define ARROW_INFO   0
 
#define ARROW_WARNING   1
 
#define ARROW_ERROR   2
 
#define ARROW_FATAL   3
 
#define ARROW_LOG_INTERNAL(level)   ::arrow::internal::CerrLog(level)
 
#define ARROW_LOG(level)   ARROW_LOG_INTERNAL(ARROW_##level)
 
#define ARROW_IGNORE_EXPR(expr)   ((void)(expr));
 
#define ARROW_CHECK(condition)
 
#define ARROW_DFATAL   ARROW_FATAL
 
#define DCHECK(condition)   ARROW_CHECK(condition)
 
#define DCHECK_EQ(val1, val2)   ARROW_CHECK((val1) == (val2))
 
#define DCHECK_NE(val1, val2)   ARROW_CHECK((val1) != (val2))
 
#define DCHECK_LE(val1, val2)   ARROW_CHECK((val1) <= (val2))
 
#define DCHECK_LT(val1, val2)   ARROW_CHECK((val1) < (val2))
 
#define DCHECK_GE(val1, val2)   ARROW_CHECK((val1) >= (val2))
 
#define DCHECK_GT(val1, val2)   ARROW_CHECK((val1) > (val2))
 

Macro Definition Documentation

◆ ARROW_CHECK

#define ARROW_CHECK (   condition)
Value:
(condition) ? 0 \
: ::arrow::internal::FatalLog(ARROW_FATAL) \
<< __FILE__ << ":" << __LINE__ << " Check failed: " #condition " "
#define ARROW_FATAL
Definition: logging.h:39

◆ ARROW_DEBUG

#define ARROW_DEBUG   (-1)

◆ ARROW_DFATAL

#define ARROW_DFATAL   ARROW_FATAL

◆ ARROW_ERROR

#define ARROW_ERROR   2

◆ ARROW_FATAL

#define ARROW_FATAL   3

◆ ARROW_IGNORE_EXPR

#define ARROW_IGNORE_EXPR (   expr)    ((void)(expr));

◆ ARROW_INFO

#define ARROW_INFO   0

◆ ARROW_LOG

#define ARROW_LOG (   level)    ARROW_LOG_INTERNAL(ARROW_##level)

◆ ARROW_LOG_INTERNAL

#define ARROW_LOG_INTERNAL (   level)    ::arrow::internal::CerrLog(level)

◆ ARROW_WARNING

#define ARROW_WARNING   1

◆ DCHECK

#define DCHECK (   condition)    ARROW_CHECK(condition)

◆ DCHECK_EQ

#define DCHECK_EQ (   val1,
  val2 
)    ARROW_CHECK((val1) == (val2))

◆ DCHECK_GE

#define DCHECK_GE (   val1,
  val2 
)    ARROW_CHECK((val1) >= (val2))

◆ DCHECK_GT

#define DCHECK_GT (   val1,
  val2 
)    ARROW_CHECK((val1) > (val2))

◆ DCHECK_LE

#define DCHECK_LE (   val1,
  val2 
)    ARROW_CHECK((val1) <= (val2))

◆ DCHECK_LT

#define DCHECK_LT (   val1,
  val2 
)    ARROW_CHECK((val1) < (val2))

◆ DCHECK_NE

#define DCHECK_NE (   val1,
  val2 
)    ARROW_CHECK((val1) != (val2))