| Qore CdsRestDataProvider Module Reference 1.0.0

CdsRestDataProviderDefs.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3
25 namespace CDSRestDataProvider {
28 public struct QueryOperatorInfo {
29 string op;
30 auto arg;
31 };
32
33
38 const QUERY_OP_CONTAINS = "contains";
40
42 const QUERY_OP_ENDSWITH = "endswith";
43
45 const QUERY_OP_STARTSWITH = "startswith";
46
48
50 const QUERY_OP_LT = "lt";
51
53
55 const QUERY_OP_LE = "le";
56
58
60 const QUERY_OP_GT = "gt";
61
63
65 const QUERY_OP_GE = "ge";
66
68
70 const QUERY_OP_NE = "ne";
71
73
75 const QUERY_OP_EQ = "eq";
76
78
80 const QUERY_OP_NOT = "not";
81
83
85 const QUERY_OP_OR = "or";
87
101 hash<QueryOperatorInfo> query_make_op(string op, auto arg);
103
104
106
115 hash<QueryOperatorInfo> query_op_like(string str);
116
117
119
128 hash<QueryOperatorInfo> query_op_contains(string str);
129
130
132
141 hash<QueryOperatorInfo> query_op_lt(auto arg);
142
143
145
154 hash<QueryOperatorInfo> query_op_le(auto arg);
155
156
158
167 hash<QueryOperatorInfo> query_op_gt(auto arg);
168
169
171
180 hash<QueryOperatorInfo> query_op_ge(auto arg);
181
182
184
191 hash<QueryOperatorInfo> query_op_ne(auto arg);
192
193
195
204 hash<QueryOperatorInfo> query_op_eq(auto arg);
205
206
208
215 hash<QueryOperatorInfo> query_op_not(hash arg);
216
217
219
234 hash<string, hash<QueryOperatorInfo>> query_wop_or(hash<auto> h1, hash<auto> h2);
235
237
239 const DefaultQueryOpMap = ...;
240
242 };
CDSRestDataProvider::QUERY_OP_ENDSWITH
const QUERY_OP_ENDSWITH
like/contains operator
Definition: CdsRestDataProviderDefs.qc.dox.h:42
CDSRestDataProvider::query_op_like
hash< QueryOperatorInfo > query_op_like(string str)
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds ...
CDSRestDataProvider::QUERY_OP_GE
const QUERY_OP_GE
the Query greater than or equals operator (>=) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:65
CDSRestDataProvider::QueryOperatorInfo
Query operator info hash as returned by all operator functions.
Definition: CdsRestDataProviderDefs.qc.dox.h:28
CDSRestDataProvider::query_op_lt
hash< QueryOperatorInfo > query_op_lt(auto arg)
returns an QueryOperatorInfo hash for the "<" operator with the given argument for use in cds queries...
CDSRestDataProvider::QUERY_OP_LT
const QUERY_OP_LT
the Query less than (<) operator for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:50
CDSRestDataProvider::QUERY_OP_NE
const QUERY_OP_NE
the Query not equals operator (!= or <>) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:70
CDSRestDataProvider::query_op_gt
hash< QueryOperatorInfo > query_op_gt(auto arg)
returns an QueryOperatorInfo hash for the ">" operator with the given argument for use in cds queries...
CDSRestDataProvider::query_op_eq
hash< QueryOperatorInfo > query_op_eq(auto arg)
returns an QueryOperatorInfo hash for the "=" operator with the given argument for use in cds queries...
CDSRestDataProvider::query_op_contains
hash< QueryOperatorInfo > query_op_contains(string str)
returns an QueryOperatorInfo hash for the "contains" operator with the given argument for use in cds ...
CDSRestDataProvider::QueryOperatorInfo::arg
auto arg
optional argument
Definition: CdsRestDataProviderDefs.qc.dox.h:30
CDSRestDataProvider::query_op_le
hash< QueryOperatorInfo > query_op_le(auto arg)
returns an QueryOperatorInfo hash for the "<=" operator with the given argument for use in cds querie...
CDSRestDataProvider::QUERY_OP_STARTSWITH
const QUERY_OP_STARTSWITH
like/contains operator
Definition: CdsRestDataProviderDefs.qc.dox.h:45
CDSRestDataProvider::QUERY_OP_LE
const QUERY_OP_LE
the Query less than or equals (<=) operator for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:55
CDSRestDataProvider::QUERY_OP_NOT
const QUERY_OP_NOT
the Query "not" operator for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:80
CDSRestDataProvider::QueryOperatorInfo::op
string op
the operator string code
Definition: CdsRestDataProviderDefs.qc.dox.h:29
CDSRestDataProvider::QUERY_OP_CONTAINS
const QUERY_OP_CONTAINS
like/contains operator
Definition: CdsRestDataProviderDefs.qc.dox.h:39
hash
hash< auto > hash(object obj)
CDSRestDataProvider::QUERY_OP_OR
const QUERY_OP_OR
to combine Query expressions with "or" for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:85
CDSRestDataProvider::query_op_ge
hash< QueryOperatorInfo > query_op_ge(auto arg)
returns an QueryOperatorInfo hash for the ">=" operator with the given argument for use in cds querie...
CDSRestDataProvider::query_op_not
hash< QueryOperatorInfo > query_op_not(hash arg)
returns an QueryOperatorInfo hash for the "not" operator; for use in cds queries
CDSRestDataProvider
Qore CDSRestDataProviderDefs definitions.
Definition: CdsRestDataProviderDefs.qc.dox.h:26
CDSRestDataProvider::QUERY_OP_GT
const QUERY_OP_GT
the Query greater than operator (>) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:60
CDSRestDataProvider::query_op_ne
hash< QueryOperatorInfo > query_op_ne(auto arg)
returns an QueryOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in cd...
CDSRestDataProvider::DefaultQueryOpMap
const DefaultQueryOpMap
a hash of valid operators for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:239
CDSRestDataProvider::QUERY_OP_EQ
const QUERY_OP_EQ
the Query equals operator (=) for use in queries
Definition: CdsRestDataProviderDefs.qc.dox.h:75
CDSRestDataProvider::query_wop_or
hash< string, hash< QueryOperatorInfo > > query_wop_or(hash< auto > h1, hash< auto > h2)
returns an QueryOperatorInfo hash with a fake "_OR_" column name; the list of arguments to the functi...
CDSRestDataProvider::query_make_op
hash< QueryOperatorInfo > query_make_op(string op, auto arg)
returns an QueryOperatorInfo hash