Qore ServiceNowRestDataProvider Module Reference  1.1
ServiceNowRestDataProviderDefs.qc.dox.h
1 // -*- mode: c++; indent-tabs-mode: nil -*-
3 
28 public struct QueryOperatorInfo {
29  string op;
30  auto arg;
31 };
32 
37 
40 const QUERY_OP_LIKE = "LIKE";
41 
43 
45 const QUERY_OP_NOTLIKE = "NOTLIKE";
46 
48 
50 const QUERY_OP_ENDSWITH = "ENDSWITH";
51 
53 
55 const QUERY_OP_STARTSWITH = "STARTSWITH";
56 
58 
60 const QUERY_OP_LT = "lt";
61 
63 
65 const QUERY_OP_LE = "le";
66 
68 
70 const QUERY_OP_GT = "gt";
71 
73 
75 const QUERY_OP_GE = "ge";
76 
78 
80 const QUERY_OP_NE = "ne";
81 
83 
85 const QUERY_OP_EQ = "eq";
86 
88 
90 const QUERY_OP_ISEMPTY = "ISEMPTY";
91 
93 
95 const QUERY_OP_ISNOTEMPTY = "ISNOTEMPTY";
96 
98 
100 const QUERY_OP_IN = "IN";
101 
103 
105 const QUERY_OP_NOTIN = "NOTIN";
106 
108 
110 const QUERY_OP_NOT = "NOT";
111 
113 
115 const QUERY_OP_OR = "OR";
117 
136  hash<QueryOperatorInfo> query_make_op(string op, auto arg);
138 
139 
141 
150  hash<QueryOperatorInfo> query_op_like(string str);
151 
152 
154 
163  hash<QueryOperatorInfo> query_op_notlike(string str);
164 
165 
167 
176  hash<QueryOperatorInfo> query_op_lt(auto arg);
177 
178 
180 
189  hash<QueryOperatorInfo> query_op_le(auto arg);
190 
191 
193 
202  hash<QueryOperatorInfo> query_op_gt(auto arg);
203 
204 
206 
215  hash<QueryOperatorInfo> query_op_ge(auto arg);
216 
217 
219 
226  hash<QueryOperatorInfo> query_op_ne(auto arg);
227 
228 
230 
239  hash<QueryOperatorInfo> query_op_eq(auto arg);
240 
241 
243 
250  hash<QueryOperatorInfo> query_op_isempty();
251 
252 
254 
261  hash<QueryOperatorInfo> query_op_isnotempty();
262 
263 
265 
275  hash<QueryOperatorInfo> soql_op_in();
276 
277 
279 
291  hash<QueryOperatorInfo> soql_op_in(list<auto> args);
292 
293 
295 
305  hash<QueryOperatorInfo> soql_op_notin();
306 
307 
309 
321  hash<QueryOperatorInfo> soql_op_notin(list<auto> args);
322 
323 
325 
332  hash<QueryOperatorInfo> query_op_not(hash arg);
333 
334 
336 
351  hash<string, hash<QueryOperatorInfo>> query_wop_or(hash<auto> h1, hash<auto> h2);
352 
354 
356 const DefaultQueryOpMap = ...;
357 
359 };
hash< QueryOperatorInfo > soql_op_in()
returns an QueryOperatorInfo hash for the "IN" operator with all arguments passed to the function ...
const QUERY_OP_NOTIN
the Query "NOTIN" operator for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:105
hash< QueryOperatorInfo > query_op_gt(auto arg)
returns an QueryOperatorInfo hash for the ">" operator with the given argument for use in ServiceNow ...
const QUERY_OP_NOT
the Query "not" operator for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:110
hash< QueryOperatorInfo > query_op_not(hash arg)
returns an QueryOperatorInfo hash for the "not" operator; for use in ServiceNow queries ...
Query operator info hash as returned by all operator functions.
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:28
hash< QueryOperatorInfo > query_op_like(string str)
returns an QueryOperatorInfo hash for the "LIKE" operator with the given argument for use in ServiceN...
const QUERY_OP_LE
the Query less than or equals (<=) operator for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:65
const DefaultQueryOpMap
a hash of valid operators for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:356
const QUERY_OP_NOTLIKE
not like operator
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:45
hash< QueryOperatorInfo > query_op_ge(auto arg)
returns an QueryOperatorInfo hash for the ">=" operator with the given argument for use in ServiceNow...
hash< QueryOperatorInfo > query_op_isnotempty()
returns an QueryOperatorInfo hash for the "ISNOTEMPTY" operator with the given argument for use in Se...
auto arg
optional argument
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:30
const QUERY_OP_ENDSWITH
ends with operator
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:50
const QUERY_OP_GT
the Query greater than operator (>) for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:70
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...
const QUERY_OP_LT
the Query less than (<) operator for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:60
const QUERY_OP_GE
the Query greater than or equals operator (>=) for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:75
const QUERY_OP_STARTSWITH
starts with operator
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:55
hash< QueryOperatorInfo > query_make_op(string op, auto arg)
returns an QueryOperatorInfo hash
const QUERY_OP_ISEMPTY
the Query "is empty string" operator (ISEMPTY) for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:90
hash< QueryOperatorInfo > query_op_notlike(string str)
returns an QueryOperatorInfo hash for the "NOTLIKE" operator with the given argument for use in Servi...
hash< QueryOperatorInfo > query_op_le(auto arg)
returns an QueryOperatorInfo hash for the "<=" operator with the given argument for use in ServiceNow...
hash< QueryOperatorInfo > soql_op_notin()
returns an QueryOperatorInfo hash for the "NOTIN" operator with all arguments passed to the function ...
const QUERY_OP_ISNOTEMPTY
the Query "is not empty string" operator (ISNOTEMPTY) for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:95
hash< QueryOperatorInfo > query_op_ne(auto arg)
returns an QueryOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in Se...
Qore ServiceNowRestDataProvider module definition.
Definition: ServiceNowRestDataProvider.qc.dox.h:32
hash< auto > hash(object obj)
const QUERY_OP_NE
the Query not equals operator (!= or <>) for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:80
const QUERY_OP_OR
to combine Query expressions with "or" for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:115
const QUERY_OP_IN
the Query "IN" operator for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:100
hash< QueryOperatorInfo > query_op_lt(auto arg)
returns an QueryOperatorInfo hash for the "<" operator with the given argument for use in ServiceNow ...
hash< QueryOperatorInfo > query_op_isempty()
returns an QueryOperatorInfo hash for the "ISEMPTY" operator with the given argument for use in Servi...
const QUERY_OP_EQ
the Query equals operator (=) for use in queries
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:85
string op
the operator string code
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:29
hash< QueryOperatorInfo > query_op_eq(auto arg)
returns an QueryOperatorInfo hash for the "=" operator with the given argument for use in ServiceNow ...
const QUERY_OP_LIKE
like/contains operator
Definition: ServiceNowRestDataProviderDefs.qc.dox.h:40