Defining your search criteria
You define a query's search criteria. As the query runs, Rational® ClearQuest® compares your criteria to the fields of each record in the database. Each time a record in the database matches your criteria, Rational ClearQuest returns the record in the ResultSet object.
For examples of building a query with the API, see "Building queries for defects and users".