112 hash<SearchOperatorInfo>
dp_make_op(
string op,
auto arg);
139 hash<SearchOperatorInfo>
dp_op_like(
string str);
152 hash<SearchOperatorInfo>
dp_op_lt(
auto arg);
165 hash<SearchOperatorInfo>
dp_op_le(
auto arg);
178 hash<SearchOperatorInfo>
dp_op_gt(
auto arg);
191 hash<SearchOperatorInfo>
dp_op_ge(
auto arg);
204 hash<SearchOperatorInfo>
dp_op_ne(
auto arg);
217 hash<SearchOperatorInfo>
dp_op_eq(
auto arg);
244 hash<SearchOperatorInfo>
dp_op_in();
257 hash<SearchOperatorInfo>
dp_op_in(list<auto> args);
268 hash<SearchOperatorInfo>
dp_op_not(hash<auto> arg);
325 static bool matchGeneric(hash<auto> record, *hash<auto> where_cond);
331 static bool evalOperator(
string field, hash<auto> cmd, hash<auto> op, hash<auto> record);
const DP_SEARCH_OP_BETWEEN
Identifies the generic data provider "between" operator for use in generic search criteria...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:74
static bool matchGeneric(hash< auto > record, *hash< auto > where_cond)
Checks if the current record matches the search criteria.
const DP_SEARCH_OP_LT
Identifies the generic data provider less than (<) operator for use in generic search criteria...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:44
hash< SearchOperatorInfo > dp_op_ne(auto arg)
returns an SearchOperatorInfo hash for the "!=" or "<>" operator with the given argument ...
hash< SearchOperatorInfo > dp_op_gt(auto arg)
returns an SearchOperatorInfo hash for the ">" operator with the given argument
static bool evalOperator(string field, hash< auto > cmd, hash< auto > op, hash< auto > record)
Evaluates a generic search operator on the field value and record and returns the result...
hash< SearchOperatorInfo > dp_op_regex(string str)
returns an SearchOperatorInfo hash for regular expression matches
Defines the abstract class for data provider iterators; the destructor releases the iterator...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:276
string op
the operator string code
Definition: AbstractDataProviderRecordIterator.qc.dox.h:89
auto doMemberGate(string key)
Returns the value of the given field in the current record, if the iterator is valid.
const DP_SEARCH_OP_EQ
Identifies the generic data provider equals operator (=) for use in generic search criteria...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:69
hash< SearchOperatorInfo > dp_op_not(hash< auto > arg)
returns an SearchOperatorInfo hash for the "not" operator
const DP_SEARCH_OP_GE
Identifies the generic data provider greater than or equals operator (>=) for use in generic search c...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:59
const DP_SEARCH_OP_GT
Identifies the generic data provider greater than operator (>) for use in generic search criteria...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:54
hash< SearchOperatorInfo > dp_op_eq(auto arg)
returns an SearchOperatorInfo hash for the "=" operator with the given argument
hash< SearchOperatorInfo > dp_make_op(string op, auto arg)
returns an SearchOperatorInfo hash
Generic operator info hash as returned by all generic search operator functions.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:88
*hash< string, AbstractDataField > getRecordType()
Returns the record description, if available.
hash< SearchOperatorInfo > dp_op_like(string str)
returns an SearchOperatorInfo hash for the SQL-like "like" operator with the given argument ...
bool supportsBulkApi()
Returns True if the iterator supports bulk operation.
hash< SearchOperatorInfo > dp_op_lt(auto arg)
returns an SearchOperatorInfo hash for the "<" operator with the given argument
hash< SearchOperatorInfo > dp_op_between(auto l, auto r)
returns an SearchOperatorInfo hash for the "between" operator with the given arguments ...
hash< SearchOperatorInfo > dp_op_le(auto arg)
returns an SearchOperatorInfo hash for the "<=" operator with the given argument
Defines the abstract class for data provider iterators; the destructor releases the iterator...
Definition: AbstractDataProviderBulkRecordInterface.qc.dox.h:33
auto arg
optional argument
Definition: AbstractDataProviderRecordIterator.qc.dox.h:90
hash< SearchOperatorInfo > dp_op_in()
returns an SearchOperatorInfo hash for the "in" operator with all arguments passed to the function ...
const DefaultGenericSearchOpMap
a hash of valid operators for use in generic search criteria
Definition: AbstractDataProviderRecordIterator.qc.dox.h:94
const DP_SEARCH_OP_REGEX
Identifies the regex operator for use in generic search criteria.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:39
const DP_SEARCH_OP_LE
Identifies the generic data provider less than or equals (<=) operator for use in generic search crit...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:49
Qore AbstractDataField class definition.
Definition: AbstractDataField.qc.dox.h:27
abstract hash< auto > getValue()
returns a single record if the iterator is valid
const DP_SEARCH_OP_IN
Identifies the generic data provider "in" operator for use in generic search criteria.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:79
const DP_SEARCH_OP_NOT
Identifies the generic data provider "not" operator for use in generic search criteria.
Definition: AbstractDataProviderRecordIterator.qc.dox.h:84
hash< SearchOperatorInfo > dp_op_ge(auto arg)
returns an SearchOperatorInfo hash for the ">=" operator with the given argument
const DP_SEARCH_OP_NE
Identifies the generic data provider not equals operator (!= or <>) for use in generic search criteri...
Definition: AbstractDataProviderRecordIterator.qc.dox.h:64
*AbstractDataProviderBulkRecordInterface getBulkApi()
Returns the bulk data interface if supported.
static bool matchGenericValue(auto expects, auto val)
Match a single value.