OmniSciDB
a5dc49c757
|
Functions | |
bool | can_use_parallel_algorithms (const ResultSet &rows) |
std::optional< size_t > | first_dict_encoded_idx (std::vector< TargetInfo > const &) |
bool | use_parallel_algorithms (const ResultSet &rows) |
int64_t | lazy_decode (const ColumnLazyFetchInfo &col_lazy_fetch, const int8_t *byte_stream, const int64_t pos) |
void | fill_empty_key (void *key_ptr, const size_t key_count, const size_t key_width) |
int8_t | get_width_for_slot (const size_t target_slot_idx, const bool float_argument_input, const QueryMemoryDescriptor &query_mem_desc) |
size_t | get_byteoff_of_slot (const size_t slot_idx, const QueryMemoryDescriptor &query_mem_desc) |
GroupValueInfo | get_group_value_reduction (int64_t *groups_buffer, const uint32_t groups_buffer_entry_count, const int64_t *key, const uint32_t key_count, const size_t key_width, const QueryMemoryDescriptor &query_mem_desc, const int64_t *that_buff_i64, const size_t that_entry_idx, const size_t that_entry_count, const uint32_t row_size_quad) |
std::vector< int64_t > | initialize_target_values_for_storage (const std::vector< TargetInfo > &targets) |
bool result_set::can_use_parallel_algorithms | ( | const ResultSet & | rows | ) |
Definition at line 1581 of file ResultSet.cpp.
Referenced by anonymous_namespace{RelAlgTranslator.cpp}::get_in_values_expr(), RelAlgTranslator::getInIntegerSetExpr(), and use_parallel_algorithms().
void result_set::fill_empty_key | ( | void * | key_ptr, |
const size_t | key_count, | ||
const size_t | key_width | ||
) |
Definition at line 181 of file ResultSetReduction.cpp.
References CHECK, anonymous_namespace{ResultSetReduction.cpp}::fill_empty_key_32(), and anonymous_namespace{ResultSetReduction.cpp}::fill_empty_key_64().
Referenced by QueryMemoryInitializer::initRowGroups().
std::optional< size_t > result_set::first_dict_encoded_idx | ( | std::vector< TargetInfo > const & | targets | ) |
Definition at line 1593 of file ResultSet.cpp.
Referenced by anonymous_namespace{Execute.cpp}::get_merged_result().
size_t result_set::get_byteoff_of_slot | ( | const size_t | slot_idx, |
const QueryMemoryDescriptor & | query_mem_desc | ||
) |
Definition at line 114 of file ResultSetIteration.cpp.
References QueryMemoryDescriptor::getPaddedColWidthForRange().
Referenced by ResultSetReductionJIT::isEmpty(), and ResultSetStorage::isEmptyEntry().
GroupValueInfo result_set::get_group_value_reduction | ( | int64_t * | groups_buffer, |
const uint32_t | groups_buffer_entry_count, | ||
const int64_t * | key, | ||
const uint32_t | key_count, | ||
const size_t | key_width, | ||
const QueryMemoryDescriptor & | query_mem_desc, | ||
const int64_t * | that_buff_i64, | ||
const size_t | that_entry_idx, | ||
const size_t | that_entry_count, | ||
const uint32_t | row_size_quad | ||
) |
Definition at line 782 of file ResultSetReduction.cpp.
References anonymous_namespace{ResultSetReduction.cpp}::get_matching_group_value_reduction(), and key_hash().
Referenced by get_group_value_reduction_rt().
int8_t result_set::get_width_for_slot | ( | const size_t | target_slot_idx, |
const bool | float_argument_input, | ||
const QueryMemoryDescriptor & | query_mem_desc | ||
) |
Definition at line 1397 of file ResultSetReduction.cpp.
References QueryMemoryDescriptor::getPaddedSlotWidthBytes().
Referenced by ResultSetReductionJIT::reduceOneSlot(), ResultSetStorage::reduceOneSlot(), and ResultSetStorage::reduceOneSlotSingleValue().
std::vector< int64_t > result_set::initialize_target_values_for_storage | ( | const std::vector< TargetInfo > & | targets | ) |
Definition at line 83 of file ResultSetStorage.cpp.
References kAVG, kSAMPLE, null_val_bit_pattern(), and takes_float_argument().
Referenced by GpuSharedMemCodeBuilder::codegenReduction().
int64_t result_set::lazy_decode | ( | const ColumnLazyFetchInfo & | col_lazy_fetch, |
const int8_t * | byte_stream, | ||
const int64_t | pos | ||
) |
Definition at line 111 of file ResultSetStorage.cpp.
References CHECK, CHECK_EQ, fixed_width_double_decode_noinline(), fixed_width_float_decode_noinline(), fixed_width_int_decode_noinline(), fixed_width_small_date_decode_noinline(), fixed_width_unsigned_decode_noinline(), get_bit_width(), inline_fixed_encoding_null_val(), inline_int_null_val(), ColumnLazyFetchInfo::is_lazily_fetched, kENCODING_DATE_IN_DAYS, kENCODING_DICT, kENCODING_FIXED, kENCODING_NONE, kFLOAT, NULL_BIGINT, NULL_INT, NULL_SMALLINT, and ColumnLazyFetchInfo::type.
Referenced by ResultSet::lazyReadInt(), and ResultSet::makeTargetValue().
bool result_set::use_parallel_algorithms | ( | const ResultSet & | rows | ) |
Definition at line 1600 of file ResultSet.cpp.
References can_use_parallel_algorithms().
Referenced by ColumnarResults::materializeAllLazyColumns(), and synthesize_metadata().