Apache Arrow (C++)
A columnar in-memory analytics layer designed to accelerate big data.
Namespaces | Macros | Functions
visitor_inline.h File Reference
#include "arrow/array.h"
#include "arrow/status.h"
#include "arrow/tensor.h"
#include "arrow/type.h"
#include "arrow/util/checked_cast.h"

Go to the source code of this file.

Namespaces

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

Macros

#define TYPE_VISIT_INLINE(TYPE_CLASS)
 
#define ARRAY_VISIT_INLINE(TYPE_CLASS)
 

Functions

template<typename VISITOR >
Status arrow::VisitTypeInline (const DataType &type, VISITOR *visitor)
 
template<typename VISITOR >
Status arrow::VisitArrayInline (const Array &array, VISITOR *visitor)
 

Macro Definition Documentation

◆ ARRAY_VISIT_INLINE

#define ARRAY_VISIT_INLINE (   TYPE_CLASS)
Value:
case TYPE_CLASS::type_id: \
return visitor->Visit( \
checked_cast<const typename TypeTraits<TYPE_CLASS>::ArrayType&>(array));
OutputType checked_cast(InputType &&value)
Definition: checked_cast.h:26

◆ TYPE_VISIT_INLINE

#define TYPE_VISIT_INLINE (   TYPE_CLASS)
Value:
case TYPE_CLASS::type_id: \
return visitor->Visit(checked_cast<const TYPE_CLASS&>(type));