AnnaDB 1.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
annadb::Query::Find Class Reference
Inheritance diagram for annadb::Query::Find:
annadb::Query::QueryCmd

Public Member Functions

 Find (Find &&rhs)=default
 
Findeq (tyson::TySonObject &value) noexcept
 
Findeq (std::string_view path_to_field, tyson::TySonObject &value) noexcept
 
Findneq (tyson::TySonObject &value) noexcept
 
Findneq (std::string_view path_to_field, tyson::TySonObject &value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findgt (T &&value) noexcept
 
Findgt (tyson::TySonObject &value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findgt (std::string_view path_to_field, T &&value) noexcept
 
Findgt (std::string_view path_to_field, tyson::TySonObject &value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findgte (T &&value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findgte (std::string_view path_to_field, T &&value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findlt (T value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findlt (std::string_view path_to_field, T value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findlte (T value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
Findlte (std::string_view path_to_field, T value) noexcept
 
Findq (And &value) noexcept
 
Findq (Or &value) noexcept
 
Findq (Not &value) noexcept
 
- Public Member Functions inherited from annadb::Query::QueryCmd
 QueryCmd (std::string_view name, bool start_cmd)
 
std::string name () noexcept
 
bool can_start_pipeline () const noexcept
 
virtual std::string query () noexcept
 
bool next_step_allowed (const std::string &cmdName) noexcept
 
bool previous_step_allowed (const std::string &cmdName) noexcept
 

Static Public Member Functions

static Find EQ (tyson::TySonObject &value) noexcept
 
static Find NEQ (tyson::TySonObject &value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
static Find GT (T &&value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
static Find GTE (T value) noexcept
 
template<std::convertible_to< tyson::TySonObject > T>
static Find LT (T value) noexcept
 
static Find LTE (tyson::TySonObject &value) noexcept
 
template<std::convertible_to< Comparison > ... Comps>
static Find AND (Comps ...comps) noexcept
 
template<std::convertible_to< Comparison > ... Comps>
static Find OR (Comps ...comps) noexcept
 
static Find NOT (std::string_view field) noexcept
 

Member Function Documentation

◆ AND()

template<std::convertible_to< Comparison > ... Comps>
static Find annadb::Query::Find::AND ( Comps ...  comps)
inlinestaticnoexcept

Find elements which meet both statements

Parameters
comp_1
See also
query_comparison.annadb::Query::Comparison
Parameters
comp_2
See also
query_comparison.annadb::Query::Comparison
Returns
the Find class to add additional filter

◆ EQ()

static Find annadb::Query::Find::EQ ( tyson::TySonObject value)
inlinestaticnoexcept

Find elements by equally comparison

Parameters
value
See also
TySON.tyson::TySonObject
Returns
the Find class to add additional filter

◆ GT()

template<std::convertible_to< tyson::TySonObject > T>
static Find annadb::Query::Find::GT ( T &&  value)
inlinestaticnoexcept

Find elements which are greater

Parameters
value
See also
TySON.tyson::TySonObject
Returns
the Find class to add additional filter

◆ GTE()

template<std::convertible_to< tyson::TySonObject > T>
static Find annadb::Query::Find::GTE ( value)
inlinestaticnoexcept

Find elements which are greater or equally

Parameters
value
See also
TySON.tyson::TySonObject
Returns
the Find class to add additional filter

◆ LT()

template<std::convertible_to< tyson::TySonObject > T>
static Find annadb::Query::Find::LT ( value)
inlinestaticnoexcept

Find elements which are less

Parameters
value
See also
TySON.tyson::TySonObject
Returns
the Find class to add additional filter

◆ LTE()

static Find annadb::Query::Find::LTE ( tyson::TySonObject value)
inlinestaticnoexcept

Find elements which are less or equally

Parameters
value
See also
TySON.tyson::TySonObject
Returns
the Find class to add additional filter

◆ NEQ()

static Find annadb::Query::Find::NEQ ( tyson::TySonObject value)
inlinestaticnoexcept

Find elements not equally comparison

Parameters
value
See also
TySON.tyson::TySonObject
Returns
the Find class to add additional filter

◆ NOT()

static Find annadb::Query::Find::NOT ( std::string_view  field)
inlinestaticnoexcept

Exclude a specific field

Parameters
field
Returns
the Find class to add additional filter

◆ OR()

template<std::convertible_to< Comparison > ... Comps>
static Find annadb::Query::Find::OR ( Comps ...  comps)
inlinestaticnoexcept

Find elements by or comparison

Parameters
comp
See also
query_comparison.annadb::Query::Comparison
Returns
the Find class to add additional filter

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