Public Member Functions | |
HRESULT | BuildJoinTree () |
Build or refresh the JoinTree based on the JoinList. | |
HRESULT | CalculateGroupBy () |
HRESULT | Having ([out, retval] IDSSExpression oppExpression) |
Expression representing the Having clause condition. | |
HRESULT | ID ([out, retval] BSTR *opID) |
HRESULT | Index ([out, retval] Int32 *opIndex) |
the index of this SQLQuery in the SQLQueries collection | |
HRESULT | JoinList ([out, retval] IDSSSQLJoins oppSQLJoins) |
Collection of IDSSSQLJoin objects. | |
HRESULT | JoinOrderIgnored ([in] VARIANT_BOOL iValue) |
Put whether the join order in the JoinList should be considered or ignored. | |
HRESULT | JoinOrderIgnored ([out, retval] VARIANT_BOOL *opValue) |
Get whether the join order in the JoinList should be considered or ignored. | |
HRESULT | JoinTree ([out, retval] IDSSSQLJoinTreeNode oppSQLJoinTreeNode) |
The root of the join tree. | |
HRESULT | LookupSymbol ([in] BSTR iSymbol,[in] VARIANT_BOOL iSearchSQLQuery,[out] IDispatch oppResult1,[out] IDispatch oppResult2) |
lookup a symbol in the SQLQuery. | |
HRESULT | Name ([in] BSTR iName) |
HRESULT | Name ([out, retval] BSTR *opName) |
HRESULT | OperationType ([in] EnumDSSSQLOperationType iType) |
Put the operation type of the SQL query. | |
HRESULT | OperationType ([out, retval] EnumDSSSQLOperationType *opType) |
Get the operation type of the SQL query. | |
HRESULT | SelectDistinct ([in] VARIANT_BOOL iFlag) |
if this property is set to VARIANT_TRUE and the SQL operation type is SELECT, then a SELECT DISTINCT statement is generated. | |
HRESULT | SelectDistinct ([out, retval] VARIANT_BOOL *opFlag) |
if this property is set to VARIANT_TRUE and the SQL operation type is SELECT, then a SELECT DISTINCT statement is generated. | |
HRESULT | SetOperator ([in] EnumDSSSQLSetOperator iOperator) |
the set operator to use when the OperationType is SET operation If more than 2 tables exists in the SQLTables collection, the same operator is applied to all of them. | |
HRESULT | SetOperator ([out, retval] EnumDSSSQLSetOperator *opOperator) |
the set operator to use when the OperationType is SET operation If more than 2 tables exists in the SQLTables collection, the same operator is applied to all of them. | |
HRESULT | SQLQueryColumns ([out, retval] IDSSSQLQueryColumns oppColumns) |
Collection of IDSSSQLQueryColumn objects representing the items in the Select, Group By and Order By lists. | |
HRESULT | SQLTables ([out, retval] IDSSSQLTables oppSQLTables) |
Collection of IDSSSQLTable objects representing the actual tables or SQL Queries used in the SQL Query. | |
HRESULT | Where ([out, retval] IDSSExpression oppExpression) |
Expression representing the Where clause condition. |
|
Build or refresh the JoinTree based on the JoinList. The following is an informal outline of the algorithm used to construct the tree.
|
|
|
|
Expression representing the Having clause condition. It must have a predicate nature, returning a True/False value. The expression is accessed through the regular IDSSExpression, IDSSNode etc. interfaces and is similar in nature to that of the Having clause (including the pass-through nodes).
|
|
|
|
the index of this SQLQuery in the SQLQueries collection
|
|
Collection of IDSSSQLJoin objects. It represents the list of "table-to-table" joins or set operation as specified by the user.
|
|
Put whether the join order in the JoinList should be considered or ignored. When the value of this property is VARIANT_TRUE, a suggestion based on heuristics is sent to the RDBMS (including, in some cases, the passing on of "ignore order").
|
|
Get whether the join order in the JoinList should be considered or ignored. When the value of this property is VARIANT_TRUE, a suggestion based on heuristics is sent to the RDBMS (including, in some cases, the passing on of "ignore order"). The initial value is VARIANT_FALSE
|
|
The root of the join tree. The join tree is built by the BuildJoinTree method.
|
|
lookup a symbol in the SQLQuery. The result could be a SQLQuery object, a SQLQueryColumn object, or a <SQLTable, Column> pair.
|
|
|
|
|
|
Put the operation type of the SQL query.
|
|
Get the operation type of the SQL query.
|
|
if this property is set to VARIANT_TRUE and the SQL operation type is SELECT, then a SELECT DISTINCT statement is generated.
|
|
if this property is set to VARIANT_TRUE and the SQL operation type is SELECT, then a SELECT DISTINCT statement is generated. The default value is VARIANT_FALSE.
|
|
the set operator to use when the OperationType is SET operation If more than 2 tables exists in the SQLTables collection, the same operator is applied to all of them. The initial value is
|
|
the set operator to use when the OperationType is SET operation If more than 2 tables exists in the SQLTables collection, the same operator is applied to all of them.
|
|
Collection of IDSSSQLQueryColumn objects representing the items in the Select, Group By and Order By lists.
|
|
Collection of IDSSSQLTable objects representing the actual tables or SQL Queries used in the SQL Query.
|
|
Expression representing the Where clause condition. It must have a predicate nature, returning a True/False value. The expression is accessed through the regular IDSSExpression, IDSSNode etc. interfaces and is based on the following types of nodes:
|