#include "CompilationOptions.h"
#include "DataMgr/DataMgr.h"
#include "Descriptors/RelAlgExecutionDescriptor.h"
#include "ResultSet.h"
#include "TargetMetaInfo.h"
#include "TargetValue.h"
#include <type_traits>
#include "arrow/api.h"
#include "arrow/ipc/api.h"
Go to the source code of this file.
|
using | ValueArray = boost::variant< std::vector< bool >, std::vector< int8_t >, std::vector< int16_t >, std::vector< int32_t >, std::vector< int64_t >, std::vector< arrow::Decimal128 >, std::vector< float >, std::vector< double >, std::vector< std::string >, std::vector< std::vector< int8_t >>, std::vector< std::vector< int16_t >>, std::vector< std::vector< int32_t >>, std::vector< std::vector< int64_t >>, std::vector< std::vector< float >>, std::vector< std::vector< double >>, std::vector< std::vector< std::string >>> |
|
template<typename T > |
using | Vec2 = std::vector< std::vector< T >> |
|
using ValueArray = boost::variant<std::vector<bool>, std::vector<int8_t>, std::vector<int16_t>, std::vector<int32_t>, std::vector<int64_t>, std::vector<arrow::Decimal128>, std::vector<float>, std::vector<double>, std::vector<std::string>, std::vector<std::vector<int8_t>>, std::vector<std::vector<int16_t>>, std::vector<std::vector<int32_t>>, std::vector<std::vector<int64_t>>, std::vector<std::vector<float>>, std::vector<std::vector<double>>, std::vector<std::vector<std::string>>> |
template<typename T >
using Vec2 = std::vector<std::vector<T>> |
Enumerator |
---|
ALL_STRINGS_REMAPPED |
|
ONLY_TRANSIENT_STRINGS_REMAPPED |
|
INVALID |
|
Definition at line 222 of file ArrowResultSet.h.
std::unique_ptr<ArrowResultSet> result_set_arrow_loopback |
( |
const ExecutionResult * |
results, |
|
|
const std::shared_ptr< ResultSet > & |
rows, |
|
|
const ExecutorDeviceType |
device_type, |
|
|
const size_t |
min_result_size_for_bulk_dictionary_fetch, |
|
|
const double |
max_dictionary_to_result_size_ratio_for_bulk_dictionary_fetch |
|
) |
| |
Definition at line 349 of file ArrowResultSet.cpp.
References ExecutionResult::getTargetsMeta(), and report::rows.
355 std::vector<TargetMetaInfo> dummy_targets_meta;
356 return results ? std::make_unique<ArrowResultSet>(
360 min_result_size_for_bulk_dictionary_fetch,
361 max_dictionary_to_result_size_ratio_for_bulk_dictionary_fetch)
362 : std::make_unique<ArrowResultSet>(
366 min_result_size_for_bulk_dictionary_fetch,
367 max_dictionary_to_result_size_ratio_for_bulk_dictionary_fetch);
const std::vector< TargetMetaInfo > & getTargetsMeta() const
template<typename T >
constexpr auto scale_epoch_values |
( |
| ) |
|
Definition at line 360 of file ArrowResultSet.h.
361 return std::is_same<T, arrow::Date32Builder>::value ||
362 std::is_same<T, arrow::Date64Builder>::value;