OmniSciDB  62f1aeabe6
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.

Namespaces

 anonymous_namespace{ArrowResultSetConverter.cpp}
 
 arrow
 

Macros

#define ARROW_RECORDBATCH_MAKE   arrow::RecordBatch::Make
 

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)
 
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 42 of file ArrowResultSetConverter.cpp.

Referenced by ArrowResultSetConverter::getArrowBatch().