FileDocCategorySizeDatePackage
RepSumByPrefTask.javaAPI DocApache Lucene 2.1.01855Wed Feb 14 10:46:14 GMT 2007org.apache.lucene.benchmark.byTask.tasks

RepSumByPrefTask

public class RepSumByPrefTask extends ReportTask
Report by-name-prefix statistics aggregated by name. Other side effects: None.

Fields Summary
protected String
prefix
Constructors Summary
public RepSumByPrefTask(org.apache.lucene.benchmark.byTask.PerfRunData runData)

    super(runData);
  
Methods Summary
public intdoLogic()

    Report rp = getRunData().getPoints().reportSumByPrefix(prefix);
    
    System.out.println();
    System.out.println("------------> Report Sum By Prefix ("+prefix+") ("+
        rp.getSize()+" about "+rp.getReported()+" out of "+rp.getOutOf()+")");
    System.out.println(rp.getText());
    System.out.println();

    return 0;
  
public voidsetPrefix(java.lang.String prefix)

    this.prefix = prefix;
  
public java.lang.StringtoString()

    return super.toString()+" "+prefix;