OOFILE  1.9
Classes | Enumerations
OOFILE Database Query

Classes that allow you to build queries either: More...

Collaboration diagram for OOFILE Database Query:

Classes

class  dbQuery
 class for building queries of arbitrary complexity with application logic. More...
 
class  dbQueryBinary
 Common binary query for field, eg: People.Salary > 90000. More...
 
class  dbQueryBinaryCombo
 Binary query combining two sub-queries. More...
 
class  dbQueryBinaryComboOwner
 Builder class used to combine sub-queries when constructing runtime queries. More...
 
class  dbQueryBinaryNofield
 Binary query where LHS is table, eg: dbTable::hasAllWordsDelimited. More...
 
class  dbQueryClause
 Highest level used to assemble queries. More...
 
class  dbQueryField
 LHS argument to queries on fields. More...
 
class  dbQueryLiteral
 Base for the RHS arguments to combinatorial queries dbQueryBinary, dbQueryTrinary. More...
 
class  dbQueryLiteralBLOB
 Argument mainly used to support compound key queries ending in binary number. More...
 
class  dbQueryLiteralDouble
 RHS double argument to queries on fields like dbReal. More...
 
class  dbQueryLiteralLong
 RHS long argument to queries on fields like dbLong. More...
 
class  dbQueryLiteralShort
 RHS short argument to queries on fields like dbShort. More...
 
class  dbQueryLiteralStr
 RHS String argument to queries on fields like dbChar. More...
 
class  dbQueryLiteralStrArray
 String fragment arguments passed in as array of C strings. More...
 
class  dbQueryLiteralStrDelimited
 String fragment arguments passed in as single string with a delimiter character. More...
 
class  dbQueryLiteralStrMultiValue
 Abstract base for string fragment queries like OOF_mixKeywordableField::hasAnyWordsOf. More...
 
class  dbQueryLiteralUlong
 RHS unsigned long argument to queries on fields like dbUlong. More...
 
class  dbQueryLiteralUshort
 RHS unsigned short argument to queries on fields like dbUshort. More...
 
class  dbQueryTrinary
 Common trinary query for field, eg: People.Salary.between(50000, 90000); Very similar to dbQueryBinary but takes two RHS arguments, typically to specify a range. More...
 

Enumerations

enum  dbQueryClause::BinaryQueryOps {
  dbQueryClause::equals, dbQueryClause::notEquals, dbQueryClause::lessThan, dbQueryClause::lessThanOrEqual,
  dbQueryClause::greaterThan, dbQueryClause::greaterThanOrEqual, dbQueryClause::startsWith, dbQueryClause::hasWord,
  dbQueryClause::hasAnyWord, dbQueryClause::hasAllWords, dbQueryClause::hasWordStartsWith, dbQueryClause::hasAnyWordStartsWith,
  dbQueryClause::hasAllWordsStartsWith
}
 
enum  dbQueryClause::QueryClauseTypes {
  dbQueryClause::binaryfieldToLiteral, dbQueryClause::binaryfieldTofield, dbQueryClause::trinaryFieldToLiterals, dbQueryClause::entireTable,
  dbQueryClause::atomicfield, dbQueryClause::atomicLiteral, dbQueryClause::atomicLiteralStr, dbQueryClause::multiLiteralStr,
  dbQueryClause::binaryCombination, dbQueryClause::builtQuery
}
 
enum  dbQueryClause::QueryCombinatorialOps { dbQueryClause::oofAND, dbQueryClause::oofOR }
 
enum  dbQueryClause::TrinaryQueryOps { dbQueryClause::between, dbQueryClause::outside }
 

Detailed Description

Classes that allow you to build queries either:

use \ingroup oofQuery to include items in this group

Enumeration Type Documentation

Enumerator
equals 
notEquals 
lessThan 
lessThanOrEqual 
greaterThan 
greaterThanOrEqual 
startsWith 
hasWord 
hasAnyWord 
hasAllWords 
hasWordStartsWith 
hasAnyWordStartsWith 
hasAllWordsStartsWith 

Definition at line 48 of file oofquery.h.

Enumerator
binaryfieldToLiteral 
binaryfieldTofield 
trinaryFieldToLiterals 
entireTable 
atomicfield 
atomicLiteral 
atomicLiteralStr 
multiLiteralStr 
binaryCombination 
builtQuery 

Definition at line 52 of file oofquery.h.

Enumerator
oofAND 
oofOR 

Definition at line 51 of file oofquery.h.

Enumerator
between 
outside 

Definition at line 50 of file oofquery.h.