Struct ResultSet::ResultSetComparatorΒΆ

template<typename BUFFER_ITERATOR_TYPE>
struct ResultSetComparator

Public Types

template<>
using BufferIteratorType = BUFFER_ITERATOR_TYPE

Public 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()
ResultSet::ApproxQuantileBuffers materializeApproxQuantileColumns() const
std::vector<int64_t> materializeCountDistinctColumn(const Analyzer::OrderEntry &order_entry) const
ResultSet::ApproxQuantileBuffers::value_type materializeApproxQuantileColumn(const Analyzer::OrderEntry &order_entry) const
bool operator()(const PermutationIdx lhs, const PermutationIdx rhs) const

Public Members

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_