SOLA
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
minhton::FindQuery Class Reference

Public Types

enum  FindQueryScope { kAll , kSome }
 
enum  FindQuerySelection { kSelectAll , kSelectSpecific , kSelectUnspecific }
 

Public Member Functions

 FindQuery (const std::string &expr_string, const std::string &scope_string)
 
std::string serializeBooleanExpression () const
 
std::string serializeScope () const
 
void deserializeBooleanExpression (const std::string &expr_string)
 
void deserializeScope (const std::string &scope_string)
 
FuzzyValue evaluate (NodeData &data, bool all_information_present, const uint64_t &timestamp_now)
 
std::vector< NodeData::Key > evaluateMissingAttributes (NodeData &data, uint64_t const &timestamp_now) const
 
std::vector< NodeData::Key > getRelevantAttributes () const
 
std::vector< NodeData::Key > getRelevantTopicAttributes () const
 
FindQueryScope getScope () const
 
void setScope (const FindQueryScope &scope)
 
std::shared_ptr< BooleanExpressiongetBooleanExpression () const
 
void setBooleanExpression (std::shared_ptr< BooleanExpression > expr)
 
void setRequestingNode (const NodeInfo &requesting_node)
 
NodeInfo getRequestingNode () const
 
uint64_t getValidityThreshold () const
 
void setValidityThreshold (const uint64_t &validity_threshold)
 
bool getInquireUnknownAttributes () const
 
void setInquireUnknownAttributes (bool inquire_unknown_attributes)
 
bool getInquireOutdatedAttributes () const
 
void setInquireOutdatedAttributes (bool inquire_outdated_attributes)
 
bool getPermissive () const
 
void setPermissive (bool permissive)
 
FindQuerySelection getSelection () const
 
void setSelection (const FindQuerySelection &selection)
 
std::vector< NodeData::Key > getSelectedAttributeKeys () const
 
void setSelectedAttributeKeys (const std::vector< NodeData::Key > &keys)
 
template<class Archive >
void save (Archive &archive) const
 
template<class Archive >
void load (Archive &archive)
 

The documentation for this class was generated from the following files: