OmniSciDB  dfae7c3b14
ArrowResultSetConverter.cpp File Reference
#include "../Shared/DateConverters.h"
#include "ArrowResultSet.h"
#include "Execute.h"
#include <sys/ipc.h>
#include <sys/shm.h>
#include <sys/types.h>
#include <algorithm>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <future>
#include <string>
#include "arrow/api.h"
#include "arrow/io/memory.h"
#include "arrow/ipc/api.h"
#include "Shared/ArrowUtil.h"
+ Include dependency graph for ArrowResultSetConverter.cpp:

Go to the source code of this file.

Classes

class  anonymous_namespace{ArrowResultSetConverter.cpp}::null_type< TYPE, enable >
 
struct  anonymous_namespace{ArrowResultSetConverter.cpp}::null_type< TYPE, std::enable_if_t< std::is_integral< TYPE >::value > >
 
struct  anonymous_namespace{ArrowResultSetConverter.cpp}::null_type< TYPE, std::enable_if_t< std::is_floating_point< TYPE >::value > >
 

Namespaces

 anonymous_namespace{ArrowResultSetConverter.cpp}
 
 arrow
 

Macros

#define ARROW_RECORDBATCH_MAKE   arrow::RecordBatch::Make
 

Typedefs

template<typename TYPE >
using anonymous_namespace{ArrowResultSetConverter.cpp}::null_type_t = typename null_type< TYPE >::type
 

Functions

SQLTypes anonymous_namespace{ArrowResultSetConverter.cpp}::get_dict_index_type (const SQLTypeInfo &ti)
 
SQLTypes anonymous_namespace{ArrowResultSetConverter.cpp}::get_physical_type (const SQLTypeInfo &ti)
 
template<typename TYPE , typename VALUE_ARRAY_TYPE >
void anonymous_namespace{ArrowResultSetConverter.cpp}::create_or_append_value (const ScalarTargetValue &val_cty, std::shared_ptr< ValueArray > &values, const size_t max_size)
 
template<typename TYPE >
void anonymous_namespace{ArrowResultSetConverter.cpp}::create_or_append_validity (const ScalarTargetValue &value, const SQLTypeInfo &col_type, std::shared_ptr< std::vector< bool >> &null_bitmap, const size_t max_size)
 
template<typename C_TYPE , typename ARROW_TYPE = typename CTypeTraits<C_TYPE>::ArrowType>
void anonymous_namespace{ArrowResultSetConverter.cpp}::convert_column (ResultSetPtr result, size_t col, std::unique_ptr< int8_t[]> &values, std::unique_ptr< uint8_t[]> &is_valid, size_t entry_count, std::shared_ptr< Array > &out)
 
std::pair< key_t, void * > anonymous_namespace{ArrowResultSetConverter.cpp}::get_shm (size_t shmsz)
 
std::pair< key_t, std::shared_ptr< Buffer > > anonymous_namespace{ArrowResultSetConverter.cpp}::get_shm_buffer (size_t size)
 
key_t arrow::get_and_copy_to_shm (const std::shared_ptr< Buffer > &data)
 
std::shared_ptr< arrow::DataType > anonymous_namespace{ArrowResultSetConverter.cpp}::get_arrow_type (const SQLTypeInfo &sql_type, const ExecutorDeviceType device_type)
 
template<typename BUILDER_TYPE , typename VALUE_ARRAY_TYPE >
void anonymous_namespace{ArrowResultSetConverter.cpp}::appendToColumnBuilder (ArrowResultSetConverter::ColumnBuilder &column_builder, const ValueArray &values, const std::shared_ptr< std::vector< bool >> &is_valid)
 
template<>
void anonymous_namespace{ArrowResultSetConverter.cpp}::appendToColumnBuilder< arrow::StringDictionary32Builder, int32_t > (ArrowResultSetConverter::ColumnBuilder &column_builder, const ValueArray &values, const std::shared_ptr< std::vector< bool >> &is_valid)
 

Macro Definition Documentation

◆ ARROW_RECORDBATCH_MAKE

#define ARROW_RECORDBATCH_MAKE   arrow::RecordBatch::Make

Definition at line 49 of file ArrowResultSetConverter.cpp.

Referenced by ArrowResultSetConverter::getArrowBatch().