Class SpeculativeTopNMap

class SpeculativeTopNMap

Public Functions

SpeculativeTopNMap()
SpeculativeTopNMap(const ResultSet &rows, const std::vector<Analyzer::Expr *> &target_exprs, const size_t truncate_n)
void reduce(SpeculativeTopNMap &that)
std::shared_ptr<ResultSet> asRows(const RelAlgExecutionUnit &ra_exe_unit, std::shared_ptr<RowSetMemoryOwner> row_set_mem_owner, const QueryMemoryDescriptor &query_mem_desc, const Executor *executor, const size_t top_n, const bool desc) const

Private Members

std::unordered_map<int64_t, SpeculativeTopNVal> map_
size_t unknown_