
public class QueryStatistic extends Object
| Modifier and Type | Field and Description | 
|---|---|
| private int | candidatesThe number of candidate objects which need a refinement. | 
| private int | resultsThe overall number of the result objects after refinement
 plus the true hits. | 
| private int | trueHitsThe number of true hits which do not need a refinement. | 
| Constructor and Description | 
|---|
| QueryStatistic() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addCandidates(int candidates)Adds the specified number to the number of the candidate objects. | 
| void | addResults(int results)Adds the specified number to the number of the result objects. | 
| void | addTrueHits(int trueHits)Adds the specified number to the number of the true hits. | 
| void | clear()Clears the values of this statistic. | 
| String | toString()Returns the number of candidate objects and the number of the result objects after refinement. | 
private int candidates
private int trueHits
private int results
public void clear()
public void addResults(int results)
results - the number of the result objects to be addedpublic void addCandidates(int candidates)
candidates - the number of the candidate objects to be addedpublic void addTrueHits(int trueHits)
trueHits - the number of the true hits to be added