2.2.3.5 CPMCreateQueryOut
The CPMCreateQueryOut message contains a response to a CPMCreateQueryIn message.
The format of the CPMCreateQueryOut message that follows the header is shown in the following table.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
_fTrueSequential |
|||||||||||||||||||||||||||||||
_fWorkIdUnique |
|||||||||||||||||||||||||||||||
aCursors (variable) |
_fTrueSequential (4 bytes): A 32-bit unsigned integer. MUST be set to one of the following values.
-
Note An informative value indicating whether the query can be expected to provide results faster.
-
Value
Meaning
0x00000000
For the query provided in CPMCreateQueryIn, there would be a greater latency in delivering query results.
0x00000001
If _fTrueSequential is set to true, results can be returned sequentially without the server incurring the cost of processing the entire result set before returning the first result.
_fWorkIdUnique (4 bytes): A Boolean value indicating whether the document identifiers pointed by the cursors are unique throughout query results. MUST be set to one of the following values.
-
Value
Meaning
0x00000000
The cursors are unique only throughout the rowset.
0x00000001
The cursors are unique across multiple query results.
aCursors (variable): An array of 32-bit unsigned integers representing the handles to cursors with the number of elements equal to the number of categories in the CCategorizationSet field of CPMCreateQueryIn message plus one element, representing an uncategorized cursor.