Query
This tag is used to query for results that have been previously
reordered with the record tag. This tag will create a result
set and then to iterate over that result set you must call the
nextresult tag to make it progress. Not all recorders are
query-able though, so you should look at the following list for
query-able recorders:
Children Tags
Required Attributes
uri
Input URI of the previous recorded events.
cursor
The name of the cursor that will give us the results to
apply the query constraints on.
Optional Attributes
event
The name of the event to query the underlying cursor on.
Usage Examples
Example #1
<query cursor="obj1" event="test.*" uri="storage://OUTPUT/perf.txt">
<where>
<eq field="myfield" value="myvalue" />
</where>
</query>
Example #2
<query cursor="obj1" event="test.*" uri="storage://OUTPUT/perf.txt">
<where>
<and>
<eq field="field1" value="somevalue" />
<neq field="field2" value="othervalue" />
</and>
</where>
</query>