All Frameworks Class Hierarchy This Framework Indexes
VPMInterfaces Interface CATIVpmLightQueryManager
Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.
interface CATIVpmLightQueryManager
Interface to run Light Query.
A Light Query returns a list of rows matching a predicate, only containing object identifiers and attribute values.
Contrary to the method RunQuery, objects are not loaded in session, which means the memory and time to execute a Light Query are much smaller
than for RunQuery
Role: This interface runs light queries.
Method Index
- o
RunLightQuery(CATIVpmQuery_var&,CATListOfCATUnicodeString&,CATUnicodeString&,QueryType&,ENOVLightQueryResult*&)
- This method runs a light query.
Methods
o RunLightQuery
| public virtual RunLightQuery( | const | iQuery, |
| const | iSelectClause, |
| const | iSortAttr, |
| const | iTypeOfQuery, |
| | oQueryResult) |
-
This method runs a light query.
- Parameters:
-
- iQuery
- : Interface describing the query definition, with the entity on which to run the query and the predicate to apply that the results must match.
- iSelectClause
- : List of attributes to get the values for in the results. The format is :: or
::<{list of join attributes}.>
- iSortAttr
- : Attribute (part of the Select Clause) used to sort the results. This attribute can be a string, real, integer or date attribute.
- iTypeOfQuery
- : Type of the query, either database only or database and memory.
- oQueryResult
- : The result of the Light Query holding the identifiers and the attribute values (for the attributes given in the Select Clause) of the rows matching the predicate (defined by iQuery).
This object is included in the file: CATIVpmLightQueryManager.h
If needed, your Imakefile.mk should include the module: GUIDVPMInterfaces