#include <queryutil.h>
Public Types | |
enum | Type { Equality, LowerBound, UpperBound, UpperAndLowerBound } |
Public Member Functions | |
bool | operator!= (const QueryPattern &other) const |
bool | operator< (const QueryPattern &other) const |
bool | operator== (const QueryPattern &other) const |
Private Member Functions | |
QueryPattern () | |
void | setSort (const BSONObj sort) |
Static Private Member Functions | |
static BSONObj | normalizeSort (const BSONObj &spec) |
Private Attributes | |
map< string, Type > | _fieldTypes |
BSONObj | _sort |
Friends | |
class | FieldRangeSet |
Definition at line 127 of file queryutil.h.
Definition at line 130 of file queryutil.h.
mongo::QueryPattern::QueryPattern | ( | ) | [inline, private] |
Definition at line 168 of file queryutil.h.
static BSONObj mongo::QueryPattern::normalizeSort | ( | const BSONObj & | spec | ) | [inline, static, private] |
Definition at line 172 of file queryutil.h.
bool mongo::QueryPattern::operator!= | ( | const QueryPattern & | other | ) | const [inline] |
Definition at line 143 of file queryutil.h.
bool mongo::QueryPattern::operator< | ( | const QueryPattern & | other | ) | const [inline] |
Definition at line 146 of file queryutil.h.
bool mongo::QueryPattern::operator== | ( | const QueryPattern & | other | ) | const [inline] |
Definition at line 137 of file queryutil.h.
void mongo::QueryPattern::setSort | ( | const BSONObj | sort | ) | [inline, private] |
Definition at line 169 of file queryutil.h.
friend class FieldRangeSet [friend] |
Definition at line 129 of file queryutil.h.
map< string, Type > mongo::QueryPattern::_fieldTypes [private] |
Definition at line 186 of file queryutil.h.
BSONObj mongo::QueryPattern::_sort [private] |
Definition at line 187 of file queryutil.h.