Loading...
Searching...
No Matches
SalesforceRestDataProviderDefs.qc.dox.h
// -*- mode: c++; indent-tabs-mode: nil -*-
namespace SalesforceRestDataProvider {
public struct SoqlOperatorInfo {
string op;
auto arg;
};
public struct SoqlColumnOperatorInfo {
string cop;
auto column;
auto arg;
};
const SOQL_COP_MIN = "min";
const SOQL_COP_MAX = "max";
const SOQL_COP_AVG = "avg";
const SOQL_COP_SUM = "sum";
const SOQL_COP_COUNT = "count";
const SOQL_COP_COUNT_DISTINCT = "count_distinct";
const SOQL_COP_FORMAT = "format";
const SOQL_COP_CONVERT_CURRENCY = "convert_currency";
const SOQL_COP_CALENDAR_MONTH = "calendar_month";
const SOQL_COP_CALENDAR_QUARTER = "calendar_quarter";
const SOQL_COP_CALENDAR_YEAR = "calendar_year";
const SOQL_COP_DAY_IN_MONTH = "day_in_month";
const SOQL_COP_DAY_IN_WEEK = "day_in_week";
const SOQL_COP_DAY_IN_YEAR = "day_in_year";
const SOQL_COP_DAY_ONLY = "day_only";
const SOQL_COP_FISCAL_MONTH = "fiscal_month";
const SOQL_COP_FISCAL_QUARTER = "fiscal_quarter";
const SOQL_COP_FISCAL_YEAR = "fiscal_year";
const SOQL_COP_HOUR_IN_DAY = "hour_in_day";
const SOQL_COP_WEEK_IN_MONTH = "week_in_month";
const SOQL_COP_WEEK_IN_YEAR = "week_in_year";
const DefaultSoqlCopMap = ...;
const SOQL_OP_LIKE = "like";
const SOQL_OP_IN = "in";
const SOQL_OP_NOT_IN = "not in";
const SOQL_OP_LT = "<";
const SOQL_OP_LE = "<=";
const SOQL_OP_GT = ">";
const SOQL_OP_GE = ">=";
const SOQL_OP_NE = "!=";
const SOQL_OP_EQ = "=";
const SOQL_OP_NOT = "not";
const SOQL_OP_OR = "or";
hash<SoqlColumnOperatorInfo> soql_make_cop(string cop, auto column, auto arg);
hash<SoqlColumnOperatorInfo> soql_cop_min(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_max(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_avg(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_sum(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_count(auto column = '');
hash<SoqlColumnOperatorInfo> soql_cop_count_distinct(auto column = '');
hash<SoqlColumnOperatorInfo> soql_cop_format(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_convert_currency(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_calendar_month(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_calendar_quarter(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_calendar_year(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_day_in_month(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_day_in_week(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_day_in_year(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_day_only(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_fiscal_month(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_fiscal_quarter(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_fiscal_year(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_hour_in_day(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_week_in_month(auto column);
hash<SoqlColumnOperatorInfo> soql_cop_week_in_year(auto column);
hash<SoqlOperatorInfo> soql_make_op(string op, auto arg);
hash<SoqlOperatorInfo> soql_op_like(string str);
hash<SoqlOperatorInfo> soql_op_lt(auto arg);
hash<SoqlOperatorInfo> soql_op_le(auto arg);
hash<SoqlOperatorInfo> soql_op_gt(auto arg);
hash<SoqlOperatorInfo> soql_op_ge(auto arg);
hash<SoqlOperatorInfo> soql_op_ne(auto arg);
hash<SoqlOperatorInfo> soql_op_eq(auto arg);
hash<SoqlOperatorInfo> soql_op_in();
hash<SoqlOperatorInfo> soql_op_in(list<auto> args);
hash<SoqlOperatorInfo> soql_op_not_in();
hash<SoqlOperatorInfo> soql_op_not_in(list<auto> args);
hash<SoqlOperatorInfo> soql_op_not(hash arg);
hash<string, hash<SoqlOperatorInfo>> soql_wop_or(hash<auto> h1, hash<auto> h2);
const DefaultSoqlOpMap = ...;
};
SalesforceRestDataProvider::SOQL_COP_FISCAL_QUARTER
const SOQL_COP_FISCAL_QUARTER
to return the fiscal quarter of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:127
SalesforceRestDataProvider::SOQL_COP_AVG
const SOQL_COP_AVG
to return the average value
Definition SalesforceRestDataProviderDefs.qc.dox.h:57
SalesforceRestDataProvider::SOQL_COP_FISCAL_MONTH
const SOQL_COP_FISCAL_MONTH
to return the fiscal month of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:122
SalesforceRestDataProvider::SOQL_COP_CALENDAR_YEAR
const SOQL_COP_CALENDAR_YEAR
to return the calendar year of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:97
SalesforceRestDataProvider::SOQL_COP_DAY_IN_WEEK
const SOQL_COP_DAY_IN_WEEK
to return the day in the week of a date or date/time value (1 = Sunday, 7 = Saturday)
Definition SalesforceRestDataProviderDefs.qc.dox.h:107
SalesforceRestDataProvider::DefaultSoqlCopMap
const DefaultSoqlCopMap
a hash of default column operator descriptions
Definition SalesforceRestDataProviderDefs.qc.dox.h:150
SalesforceRestDataProvider::SOQL_COP_CALENDAR_QUARTER
const SOQL_COP_CALENDAR_QUARTER
to return the calendar quarter of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:92
SalesforceRestDataProvider::SOQL_COP_FORMAT
const SOQL_COP_FORMAT
to return the given column value in the default locale for number, date, time, and currency fields
Definition SalesforceRestDataProviderDefs.qc.dox.h:77
SalesforceRestDataProvider::SOQL_COP_MIN
const SOQL_COP_MIN
Definition SalesforceRestDataProviderDefs.qc.dox.h:47
SalesforceRestDataProvider::SOQL_COP_DAY_IN_YEAR
const SOQL_COP_DAY_IN_YEAR
to return the day in the year of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:112
SalesforceRestDataProvider::SOQL_COP_COUNT
const SOQL_COP_COUNT
to return the row count
Definition SalesforceRestDataProviderDefs.qc.dox.h:67
SalesforceRestDataProvider::SOQL_COP_CONVERT_CURRENCY
const SOQL_COP_CONVERT_CURRENCY
to return the given column value in the default currency for the calling user
Definition SalesforceRestDataProviderDefs.qc.dox.h:82
SalesforceRestDataProvider::SOQL_COP_FISCAL_YEAR
const SOQL_COP_FISCAL_YEAR
to return the fiscal year of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:132
SalesforceRestDataProvider::SOQL_COP_CALENDAR_MONTH
const SOQL_COP_CALENDAR_MONTH
to return the calendar month of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:87
SalesforceRestDataProvider::SOQL_COP_MAX
const SOQL_COP_MAX
to return the maximum value
Definition SalesforceRestDataProviderDefs.qc.dox.h:52
SalesforceRestDataProvider::SOQL_COP_COUNT_DISTINCT
const SOQL_COP_COUNT_DISTINCT
to return a count of distinct values
Definition SalesforceRestDataProviderDefs.qc.dox.h:72
SalesforceRestDataProvider::SOQL_COP_WEEK_IN_MONTH
const SOQL_COP_WEEK_IN_MONTH
to return the week in the month of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:142
SalesforceRestDataProvider::SOQL_COP_HOUR_IN_DAY
const SOQL_COP_HOUR_IN_DAY
to return the hextern in the day of a date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:137
SalesforceRestDataProvider::SOQL_COP_WEEK_IN_YEAR
const SOQL_COP_WEEK_IN_YEAR
to return the week in the year of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:147
SalesforceRestDataProvider::SOQL_COP_SUM
const SOQL_COP_SUM
to return the sum value
Definition SalesforceRestDataProviderDefs.qc.dox.h:62
SalesforceRestDataProvider::SOQL_COP_DAY_ONLY
const SOQL_COP_DAY_ONLY
to return the date from a date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:117
SalesforceRestDataProvider::SOQL_COP_DAY_IN_MONTH
const SOQL_COP_DAY_IN_MONTH
to return the day in a month of a date or date/time value
Definition SalesforceRestDataProviderDefs.qc.dox.h:102
SalesforceRestDataProvider::soql_op_gt
hash< SoqlOperatorInfo > soql_op_gt(auto arg)
returns an SoqlOperatorInfo hash for the ">" operator with the given argument for use in salesforce w...
SalesforceRestDataProvider::soql_op_not_in
hash< SoqlOperatorInfo > soql_op_not_in()
returns an SoqlOperatorInfo hash for the "not in" operator with all arguments passed to the function;...
SalesforceRestDataProvider::soql_wop_or
hash< string, hash< SoqlOperatorInfo > > soql_wop_or(hash< auto > h1, hash< auto > h2)
returns an SoqlOperatorInfo hash with a fake "_OR_" column name; the list of arguments to the functio...
SalesforceRestDataProvider::soql_op_like
hash< SoqlOperatorInfo > soql_op_like(string str)
returns an SoqlOperatorInfo hash for the "like" operator with the given argument for use in salesforc...
SalesforceRestDataProvider::soql_op_lt
hash< SoqlOperatorInfo > soql_op_lt(auto arg)
returns an SoqlOperatorInfo hash for the "<" operator with the given argument for use in salesforce w...
SalesforceRestDataProvider::soql_op_ne
hash< SoqlOperatorInfo > soql_op_ne(auto arg)
returns an SoqlOperatorInfo hash for the "!=" or "<>" operator with the given argument for use in sal...
SalesforceRestDataProvider::soql_make_op
hash< SoqlOperatorInfo > soql_make_op(string op, auto arg)
SalesforceRestDataProvider::soql_op_ge
hash< SoqlOperatorInfo > soql_op_ge(auto arg)
returns an SoqlOperatorInfo hash for the ">=" operator with the given argument for use in salesforce ...
SalesforceRestDataProvider::soql_op_not
hash< SoqlOperatorInfo > soql_op_not(hash arg)
returns an SoqlOperatorInfo hash for the "not" operator; for use in salesforce where clauses
SalesforceRestDataProvider::soql_op_in
hash< SoqlOperatorInfo > soql_op_in()
returns an SoqlOperatorInfo hash for the "in" operator with all arguments passed to the function; for...
SalesforceRestDataProvider::soql_op_le
hash< SoqlOperatorInfo > soql_op_le(auto arg)
returns an SoqlOperatorInfo hash for the "<=" operator with the given argument for use in salesforce ...
SalesforceRestDataProvider::soql_op_eq
hash< SoqlOperatorInfo > soql_op_eq(auto arg)
returns an SoqlOperatorInfo hash for the "=" operator with the given argument for use in salesforce w...
SalesforceRestDataProvider::SOQL_OP_GE
const SOQL_OP_GE
the SOQL greater than or equals operator (>=) for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:189
SalesforceRestDataProvider::SOQL_OP_NOT_IN
const SOQL_OP_NOT_IN
the SOQL in operator for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:169
SalesforceRestDataProvider::SOQL_OP_EQ
const SOQL_OP_EQ
the SOQL equals operator (=) for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:199
SalesforceRestDataProvider::SOQL_OP_NE
const SOQL_OP_NE
the SOQL not equals operator (!= or <>) for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:194
SalesforceRestDataProvider::SOQL_OP_IN
const SOQL_OP_IN
the SOQL in operator for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:164
SalesforceRestDataProvider::SOQL_OP_NOT
const SOQL_OP_NOT
the SOQL "not" operator for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:204
SalesforceRestDataProvider::SOQL_OP_LT
const SOQL_OP_LT
the SOQL less than (<) operator for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:174
SalesforceRestDataProvider::SOQL_OP_LIKE
const SOQL_OP_LIKE
Definition SalesforceRestDataProviderDefs.qc.dox.h:159
SalesforceRestDataProvider::SOQL_OP_GT
const SOQL_OP_GT
the SOQL greater than operator (>) for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:184
SalesforceRestDataProvider::SOQL_OP_OR
const SOQL_OP_OR
to combine SOQL expressions with "or" for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:209
SalesforceRestDataProvider::SOQL_OP_LE
const SOQL_OP_LE
the SOQL less than or equals (<=) operator for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:179
SalesforceRestDataProvider::soql_cop_fiscal_year
hash< SoqlColumnOperatorInfo > soql_cop_fiscal_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "fiscal_year" function; returns the fiscal year for a d...
SalesforceRestDataProvider::soql_cop_calendar_year
hash< SoqlColumnOperatorInfo > soql_cop_calendar_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "calendar_year" function; returns the calendar year for...
SalesforceRestDataProvider::soql_cop_fiscal_quarter
hash< SoqlColumnOperatorInfo > soql_cop_fiscal_quarter(auto column)
returns a SoqlColumnOperatorInfo hash for the "fiscal_quarter" function; returns the fiscal quarter f...
SalesforceRestDataProvider::soql_cop_count
hash< SoqlColumnOperatorInfo > soql_cop_count(auto column='')
returns a SoqlColumnOperatorInfo hash for the "count" aggregate function; returns row counts
SalesforceRestDataProvider::soql_cop_day_only
hash< SoqlColumnOperatorInfo > soql_cop_day_only(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_only" function; returns the date from a date/time ...
SalesforceRestDataProvider::soql_cop_calendar_quarter
hash< SoqlColumnOperatorInfo > soql_cop_calendar_quarter(auto column)
returns a SoqlColumnOperatorInfo hash for the "calendar_quarter" function; returns the calendar quart...
SalesforceRestDataProvider::soql_cop_convert_currency
hash< SoqlColumnOperatorInfo > soql_cop_convert_currency(auto column)
returns a SoqlColumnOperatorInfo hash for the "convertCurrency" operator; returns the given column va...
SalesforceRestDataProvider::soql_cop_hour_in_day
hash< SoqlColumnOperatorInfo > soql_cop_hour_in_day(auto column)
returns a SoqlColumnOperatorInfo hash for the "hour_in_day" function; returns the hextern in the day ...
SalesforceRestDataProvider::soql_cop_day_in_year
hash< SoqlColumnOperatorInfo > soql_cop_day_in_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_in_year" function; returns the day in the year for...
SalesforceRestDataProvider::soql_make_cop
hash< SoqlColumnOperatorInfo > soql_make_cop(string cop, auto column, auto arg)
SalesforceRestDataProvider::soql_cop_avg
hash< SoqlColumnOperatorInfo > soql_cop_avg(auto column)
returns a SoqlColumnOperatorInfo hash for the "avg" operator; returns average column values
SalesforceRestDataProvider::soql_cop_fiscal_month
hash< SoqlColumnOperatorInfo > soql_cop_fiscal_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "fiscal_month" function; returns the fiscal month for a...
SalesforceRestDataProvider::soql_cop_count_distinct
hash< SoqlColumnOperatorInfo > soql_cop_count_distinct(auto column='')
returns a SoqlColumnOperatorInfo hash for the "count_distinct" aggregate function; returns row counts
SalesforceRestDataProvider::soql_cop_format
hash< SoqlColumnOperatorInfo > soql_cop_format(auto column)
returns a SoqlColumnOperatorInfo hash for the "format" operator; returns the given column value in th...
SalesforceRestDataProvider::soql_cop_week_in_year
hash< SoqlColumnOperatorInfo > soql_cop_week_in_year(auto column)
returns a SoqlColumnOperatorInfo hash for the "week_in_m=year" function; returns the week in the year...
SalesforceRestDataProvider::soql_cop_day_in_month
hash< SoqlColumnOperatorInfo > soql_cop_day_in_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_in_month" function; returns the day in the month f...
SalesforceRestDataProvider::soql_cop_week_in_month
hash< SoqlColumnOperatorInfo > soql_cop_week_in_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "week_in_month" function; returns the week in the month...
SalesforceRestDataProvider::soql_cop_calendar_month
hash< SoqlColumnOperatorInfo > soql_cop_calendar_month(auto column)
returns a SoqlColumnOperatorInfo hash for the "calendar_month" function; returns the calendar month f...
SalesforceRestDataProvider::soql_cop_min
hash< SoqlColumnOperatorInfo > soql_cop_min(auto column)
returns a SoqlColumnOperatorInfo hash for the "min" operator; returns minimum column values
SalesforceRestDataProvider::soql_cop_sum
hash< SoqlColumnOperatorInfo > soql_cop_sum(auto column)
returns a SoqlColumnOperatorInfo hash for the "sum" operator; returns the total sum of a numeric colu...
SalesforceRestDataProvider::soql_cop_day_in_week
hash< SoqlColumnOperatorInfo > soql_cop_day_in_week(auto column)
returns a SoqlColumnOperatorInfo hash for the "day_in_week" function; returns the day in the week for...
SalesforceRestDataProvider::soql_cop_max
hash< SoqlColumnOperatorInfo > soql_cop_max(auto column)
returns a SoqlColumnOperatorInfo hash for the "max" operator; returns maximum column values
SalesforceRestDataProvider
Qore SalesforceRestDataProvider module definition.
Definition SalesforceRestDataProvider.qc.dox.h:26
SalesforceRestDataProvider::DefaultSoqlOpMap
const DefaultSoqlOpMap
a hash of valid operators for use in where clauses
Definition SalesforceRestDataProviderDefs.qc.dox.h:718
SalesforceRestDataProvider::SoqlColumnOperatorInfo
column operator info hash as returned by all column operator functions
Definition SalesforceRestDataProviderDefs.qc.dox.h:34
SalesforceRestDataProvider::SoqlColumnOperatorInfo::arg
auto arg
optional argument
Definition SalesforceRestDataProviderDefs.qc.dox.h:37
SalesforceRestDataProvider::SoqlColumnOperatorInfo::column
auto column
column sopecifier, may be a string or a complex hash
Definition SalesforceRestDataProviderDefs.qc.dox.h:36
SalesforceRestDataProvider::SoqlColumnOperatorInfo::cop
string cop
the column operator string code
Definition SalesforceRestDataProviderDefs.qc.dox.h:35
SalesforceRestDataProvider::SoqlOperatorInfo
SOQL operator info hash as returned by all operator functions.
Definition SalesforceRestDataProviderDefs.qc.dox.h:28
SalesforceRestDataProvider::SoqlOperatorInfo::arg
auto arg
optional argument
Definition SalesforceRestDataProviderDefs.qc.dox.h:30
SalesforceRestDataProvider::SoqlOperatorInfo::op
string op
the operator string code
Definition SalesforceRestDataProviderDefs.qc.dox.h:29