OmniSciDB
a5dc49c757
|
Classes | |
struct | GeoLazyFetchHandler |
struct | GeoQueryOutputFetchHandler |
struct | GeoTargetValueBuilder |
Functions | |
TargetValue | make_avg_target_value (const int8_t *ptr1, const int8_t compact_sz1, const int8_t *ptr2, const int8_t compact_sz2, const TargetInfo &target_info) |
const int8_t * | advance_col_buff_to_slot (const int8_t *buff, const QueryMemoryDescriptor &query_mem_desc, const std::vector< TargetInfo > &targets, const size_t slot_idx, const bool separate_varlen_storage) |
const int8_t * | columnar_elem_ptr (const size_t entry_idx, const int8_t *col1_ptr, const int8_t compact_sz1) |
int64_t | int_resize_cast (const int64_t ival, const size_t sz) |
template<class T > | |
ScalarTargetValue | make_scalar_tv (const T val) |
template<> | |
ScalarTargetValue | make_scalar_tv (const float val) |
template<> | |
ScalarTargetValue | make_scalar_tv (const double val) |
template<class T > | |
TargetValue | build_array_target_value (const int8_t *buff, const size_t buff_sz, std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner) |
TargetValue | build_string_array_target_value (const int32_t *buff, const size_t buff_sz, const shared::StringDictKey &dict_key, const bool translate_strings, std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner) |
TargetValue | build_array_target_value (const SQLTypeInfo &array_ti, const int8_t *buff, const size_t buff_sz, const bool translate_strings, std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner) |
template<class Tuple , size_t... indices> | |
std::vector< std::pair< const int8_t *, const int64_t > > | make_vals_vector (std::index_sequence< indices...>, const Tuple &tuple) |
std::unique_ptr< ArrayDatum > | lazy_fetch_chunk (const int8_t *ptr, const int64_t varlen_ptr) |
std::unique_ptr< ArrayDatum > | fetch_data_from_gpu (int64_t varlen_ptr, const int64_t length, Data_Namespace::DataMgr *data_mgr, const int device_id) |
template<typename T > | |
std::pair< int64_t, int64_t > | get_frag_id_and_local_idx (const std::vector< std::vector< T >> &frag_offsets, const size_t tab_or_col_idx, const int64_t global_idx) |
template<typename T > | |
size_t | make_bin_search (size_t l, size_t r, T &&is_empty_fn) |
const int8_t* anonymous_namespace{ResultSetIteration.cpp}::advance_col_buff_to_slot | ( | const int8_t * | buff, |
const QueryMemoryDescriptor & | query_mem_desc, | ||
const std::vector< TargetInfo > & | targets, | ||
const size_t | slot_idx, | ||
const bool | separate_varlen_storage | ||
) |
Definition at line 82 of file ResultSetIteration.cpp.
References advance_slot(), advance_to_next_columnar_target_buff(), CHECK, CHECK_LT, get_cols_ptr(), QueryMemoryDescriptor::getBufferColSlotCount(), and kAVG.
Referenced by ResultSetStorage::isEmptyEntryColumnar().
TargetValue anonymous_namespace{ResultSetIteration.cpp}::build_array_target_value | ( | const int8_t * | buff, |
const size_t | buff_sz, | ||
std::shared_ptr< RowSetMemoryOwner > | row_set_mem_owner | ||
) |
Definition at line 779 of file ResultSetIteration.cpp.
References CHECK_EQ, and heavydb.dtypes::T.
Referenced by getTargetValueFromFlatBuffer(), and ResultSet::makeVarlenTargetValue().
TargetValue anonymous_namespace{ResultSetIteration.cpp}::build_array_target_value | ( | const SQLTypeInfo & | array_ti, |
const int8_t * | buff, | ||
const size_t | buff_sz, | ||
const bool | translate_strings, | ||
std::shared_ptr< RowSetMemoryOwner > | row_set_mem_owner | ||
) |
Definition at line 828 of file ResultSetIteration.cpp.
References build_string_array_target_value(), CHECK, SQLTypeInfo::get_elem_type(), and SQLTypeInfo::is_array().
TargetValue anonymous_namespace{ResultSetIteration.cpp}::build_string_array_target_value | ( | const int32_t * | buff, |
const size_t | buff_sz, | ||
const shared::StringDictKey & | dict_key, | ||
const bool | translate_strings, | ||
std::shared_ptr< RowSetMemoryOwner > | row_set_mem_owner | ||
) |
Definition at line 793 of file ResultSetIteration.cpp.
References CHECK_EQ, shared::StringDictKey::dict_id, StringDictionaryProxy::getString(), ResultSet::getString(), and NULL_INT.
Referenced by build_array_target_value().
const int8_t* anonymous_namespace{ResultSetIteration.cpp}::columnar_elem_ptr | ( | const size_t | entry_idx, |
const int8_t * | col1_ptr, | ||
const int8_t | compact_sz1 | ||
) |
Definition at line 345 of file ResultSetIteration.cpp.
Referenced by ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), and ResultSet::getTargetValueFromBufferColwise().
|
inline |
Definition at line 927 of file ResultSetIteration.cpp.
References getQueryEngineCudaStreamForDevice().
Referenced by anonymous_namespace{ResultSetIteration.cpp}::GeoQueryOutputFetchHandler::yieldGpuDatumFetcher().
|
inline |
Definition at line 1069 of file ResultSetIteration.cpp.
References CHECK_GE, and CHECK_LT.
Referenced by ResultSet::getColumnFrag().
int64_t anonymous_namespace{ResultSetIteration.cpp}::int_resize_cast | ( | const int64_t | ival, |
const size_t | sz | ||
) |
Definition at line 351 of file ResultSetIteration.cpp.
References UNREACHABLE.
Referenced by ResultSet::RowWiseTargetAccessor::getColumnInternal(), ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), and ResultSet::makeTargetValue().
|
inline |
Definition at line 875 of file ResultSetIteration.cpp.
References CHECK, and ChunkIter_get_nth().
Referenced by anonymous_namespace{ResultSetIteration.cpp}::GeoLazyFetchHandler::fetch().
TargetValue anonymous_namespace{ResultSetIteration.cpp}::make_avg_target_value | ( | const int8_t * | ptr1, |
const int8_t | compact_sz1, | ||
const int8_t * | ptr2, | ||
const int8_t | compact_sz2, | ||
const TargetInfo & | target_info | ||
) |
Definition at line 46 of file ResultSetIteration.cpp.
References TargetInfo::agg_arg_type, TargetInfo::agg_kind, CHECK, kAVG, pair_to_double(), read_int_from_buff(), TargetInfo::sql_type, and takes_float_argument().
Referenced by ResultSet::getTargetValueFromBufferColwise(), and ResultSet::getTargetValueFromBufferRowwise().
|
inline |
Definition at line 2554 of file ResultSetIteration.cpp.
Referenced by ResultSetStorage::binSearchRowCount().
ScalarTargetValue anonymous_namespace{ResultSetIteration.cpp}::make_scalar_tv | ( | const T | val | ) |
Definition at line 764 of file ResultSetIteration.cpp.
ScalarTargetValue anonymous_namespace{ResultSetIteration.cpp}::make_scalar_tv | ( | const float | val | ) |
Definition at line 769 of file ResultSetIteration.cpp.
ScalarTargetValue anonymous_namespace{ResultSetIteration.cpp}::make_scalar_tv | ( | const double | val | ) |
Definition at line 774 of file ResultSetIteration.cpp.
|
inline |
Definition at line 868 of file ResultSetIteration.cpp.
Referenced by anonymous_namespace{ResultSetIteration.cpp}::GeoLazyFetchHandler::fetch().