OmniSciDB
bf83d84833
|
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 int dict_id, const bool translate_strings, std::shared_ptr< RowSetMemoryOwner > row_set_mem_owner, const Catalog_Namespace::Catalog *catalog) |
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, const Catalog_Namespace::Catalog *catalog) |
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) |
double | calculate_quantile (int8_t const *ptr, double const q) |
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 83 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 780 of file ResultSetIteration.cpp.
References CHECK_EQ, and omnisci.dtypes::T.
Referenced by 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, | ||
const Catalog_Namespace::Catalog * | catalog | ||
) |
Definition at line 830 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 int | dict_id, | ||
const bool | translate_strings, | ||
std::shared_ptr< RowSetMemoryOwner > | row_set_mem_owner, | ||
const Catalog_Namespace::Catalog * | catalog | ||
) |
Definition at line 794 of file ResultSetIteration.cpp.
References CHECK_EQ, StringDictionaryProxy::getString(), and NULL_INT.
Referenced by build_array_target_value().
double anonymous_namespace{ResultSetIteration.cpp}::calculate_quantile | ( | int8_t const * | ptr, |
double const | q | ||
) |
Definition at line 1852 of file ResultSetIteration.cpp.
References CHECK, and NULL_DOUBLE.
Referenced by ResultSet::getTargetValueFromBufferColwise(), and ResultSet::getTargetValueFromBufferRowwise().
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 347 of file ResultSetIteration.cpp.
Referenced by ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), and ResultSet::getTargetValueFromBufferColwise().
|
inline |
Definition at line 930 of file ResultSetIteration.cpp.
References copy_from_gpu().
Referenced by anonymous_namespace{ResultSetIteration.cpp}::GeoQueryOutputFetchHandler::yieldGpuDatumFetcher().
|
inline |
Definition at line 1065 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 353 of file ResultSetIteration.cpp.
References UNREACHABLE.
Referenced by ResultSet::RowWiseTargetAccessor::getColumnInternal(), ResultSet::ColumnWiseTargetAccessor::getColumnInternal(), and ResultSet::makeTargetValue().
|
inline |
Definition at line 878 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 47 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 2133 of file ResultSetIteration.cpp.
Referenced by ResultSetStorage::binSearchRowCount().
ScalarTargetValue anonymous_namespace{ResultSetIteration.cpp}::make_scalar_tv | ( | const T | val | ) |
Definition at line 765 of file ResultSetIteration.cpp.
ScalarTargetValue anonymous_namespace{ResultSetIteration.cpp}::make_scalar_tv | ( | const float | val | ) |
Definition at line 770 of file ResultSetIteration.cpp.
ScalarTargetValue anonymous_namespace{ResultSetIteration.cpp}::make_scalar_tv | ( | const double | val | ) |
Definition at line 775 of file ResultSetIteration.cpp.
|
inline |
Definition at line 871 of file ResultSetIteration.cpp.
Referenced by anonymous_namespace{ResultSetIteration.cpp}::GeoLazyFetchHandler::fetch().