
public class QueryStatistic extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
candidates
The number of candidate objects which need a refinement.
|
private int |
results
The overall number of the result objects after refinement
plus the true hits.
|
private int |
trueHits
The 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