OmniSciDB
a5dc49c757
|
#include <SpeculativeTopN.h>
Public Member Functions | |
void | add (const std::shared_ptr< Analyzer::Expr > expr, const bool desc) |
bool | contains (const std::shared_ptr< Analyzer::Expr > expr, const bool desc) const |
Private Attributes | |
std::mutex | mutex_ |
std::vector< std::pair < std::shared_ptr < Analyzer::Expr >, bool > > | blacklist_ |
Definition at line 94 of file SpeculativeTopN.h.
void SpeculativeTopNBlacklist::add | ( | const std::shared_ptr< Analyzer::Expr > | expr, |
const bool | desc | ||
) |
Definition at line 158 of file SpeculativeTopN.cpp.
References blacklist_, CHECK, and mutex_.
Referenced by RelAlgExecutor::executeSort().
bool SpeculativeTopNBlacklist::contains | ( | const std::shared_ptr< Analyzer::Expr > | expr, |
const bool | desc | ||
) | const |
Definition at line 167 of file SpeculativeTopN.cpp.
References blacklist_, and mutex_.
Referenced by RelAlgExecutor::createSortInputWorkUnit().
|
private |
Definition at line 101 of file SpeculativeTopN.h.
Referenced by add(), and contains().
|
mutableprivate |
Definition at line 100 of file SpeculativeTopN.h.
Referenced by add(), and contains().