OmniSciDB
a5dc49c757
|
Public Types | |
using | BufferIteratorType = BUFFER_ITERATOR_TYPE |
Public Member Functions | |
ResultSetComparator (const std::list< Analyzer::OrderEntry > &order_entries, const ResultSet *result_set, const PermutationView permutation, const Executor *executor, const bool single_threaded) | |
void | materializeCountDistinctColumns () |
ApproxQuantileBuffers | materializeApproxQuantileColumns () const |
ModeBuffers | materializeModeColumns () const |
std::vector< int64_t > | materializeCountDistinctColumn (const Analyzer::OrderEntry &order_entry) const |
ApproxQuantileBuffers::value_type | materializeApproxQuantileColumn (const Analyzer::OrderEntry &order_entry) const |
ModeBuffers::value_type | materializeModeColumn (const Analyzer::OrderEntry &order_entry) const |
bool | operator() (const PermutationIdx lhs, const PermutationIdx rhs) const |
Public Attributes | |
const std::list < Analyzer::OrderEntry > & | order_entries_ |
const ResultSet * | result_set_ |
const PermutationView | permutation_ |
const BufferIteratorType | buffer_itr_ |
const Executor * | executor_ |
const bool | single_threaded_ |
std::vector< std::vector < int64_t > > | count_distinct_materialized_buffers_ |
const ApproxQuantileBuffers | approx_quantile_materialized_buffers_ |
const ModeBuffers | mode_buffers_ |
Definition at line 833 of file ResultSet.h.
using ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::BufferIteratorType = BUFFER_ITERATOR_TYPE |
Definition at line 834 of file ResultSet.h.
|
inline |
Definition at line 836 of file ResultSet.h.
References ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumns().
ResultSet::ApproxQuantileBuffers::value_type ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumn | ( | const Analyzer::OrderEntry & | order_entry | ) | const |
Definition at line 1057 of file ResultSet.cpp.
References cpu_threads(), NULL_DOUBLE, threading_std::task_group::run(), logger::thread_local_ids(), Analyzer::OrderEntry::tle_no, and threading_std::task_group::wait().
ResultSet::ApproxQuantileBuffers ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeApproxQuantileColumns | ( | ) | const |
Definition at line 983 of file ResultSet.cpp.
References kAPPROX_QUANTILE.
std::vector< int64_t > ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumn | ( | const Analyzer::OrderEntry & | order_entry | ) | const |
Definition at line 1011 of file ResultSet.cpp.
References count_distinct_set_size(), cpu_threads(), threading_std::task_group::run(), logger::thread_local_ids(), Analyzer::OrderEntry::tle_no, and threading_std::task_group::wait().
void ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeCountDistinctColumns | ( | ) |
Definition at line 960 of file ResultSet.cpp.
References is_distinct_target().
Referenced by ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::ResultSetComparator().
ResultSet::ModeBuffers::value_type ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeModeColumn | ( | const Analyzer::OrderEntry & | order_entry | ) | const |
Definition at line 1126 of file ResultSet.cpp.
References threading_serial::parallel_for(), and logger::thread_local_ids().
ResultSet::ModeBuffers ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::materializeModeColumns | ( | ) | const |
Definition at line 996 of file ResultSet.cpp.
References kMODE.
bool ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::operator() | ( | const PermutationIdx | lhs, |
const PermutationIdx | rhs | ||
) | const |
Definition at line 1141 of file ResultSet.cpp.
References CHECK, CHECK_EQ, CHECK_GE, CHECK_LT, executor_(), get_compact_type(), is_distinct_target(), kAPPROX_QUANTILE, kENCODING_DICT, kFLOAT, kMODE, LIKELY, NULL_BIGINT, NULL_DOUBLE, pair_to_double(), takes_float_argument(), and UNLIKELY.
const ApproxQuantileBuffers ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::approx_quantile_materialized_buffers_ |
Definition at line 872 of file ResultSet.h.
const BufferIteratorType ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::buffer_itr_ |
Definition at line 868 of file ResultSet.h.
std::vector<std::vector<int64_t> > ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::count_distinct_materialized_buffers_ |
Definition at line 871 of file ResultSet.h.
const Executor* ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::executor_ |
Definition at line 869 of file ResultSet.h.
const ModeBuffers ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::mode_buffers_ |
Definition at line 873 of file ResultSet.h.
const std::list<Analyzer::OrderEntry>& ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::order_entries_ |
Definition at line 865 of file ResultSet.h.
const PermutationView ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::permutation_ |
Definition at line 867 of file ResultSet.h.
const ResultSet* ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::result_set_ |
Definition at line 866 of file ResultSet.h.
const bool ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE >::single_threaded_ |
Definition at line 870 of file ResultSet.h.