|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.lucene.benchmark.byTask.PerfRunData
public class PerfRunData
Data maintained by a performance test run.
Data includes:
| Constructor Summary | |
|---|---|
PerfRunData(Config config)
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PerfRunData(Config config)
throws Exception
Exception| Method Detail |
|---|
public void close()
throws IOException
close in interface CloseableIOException
public void reinit(boolean eraseIndex)
throws Exception
Exceptionpublic Object getPerfObject(String key)
setPerfObject(String, Object).
public void setPerfObject(String key,
Object obj)
PerfTasks, keyed by the given
key. If the object implements Closeable, it will be closed
by close().
public long setStartTimeMillis()
public long getStartTimeMillis()
public Points getPoints()
public Directory getDirectory()
public void setDirectory(Directory directory)
directory - The directory to set.public Directory getTaxonomyDir()
public void setTaxonomyReader(TaxonomyReader taxoReader)
throws IOException
taxoReader - The taxonomy reader to set.
IOExceptionpublic TaxonomyReader getTaxonomyReader()
public void setTaxonomyWriter(TaxonomyWriter taxoWriter)
taxoWriter - The taxonomy writer to set.public TaxonomyWriter getTaxonomyWriter()
public IndexReader getIndexReader()
public IndexSearcher getIndexSearcher()
public void setIndexReader(IndexReader indexReader)
throws IOException
indexReader - The indexReader to set.
IOExceptionpublic IndexWriter getIndexWriter()
public void setIndexWriter(IndexWriter indexWriter)
indexWriter - The indexWriter to set.public Analyzer getAnalyzer()
public void setAnalyzer(Analyzer analyzer)
public DocMaker getDocMaker()
public FacetSource getFacetSource()
public Locale getLocale()
public void setLocale(Locale locale)
locale - the locale to setpublic Config getConfig()
public void resetInputs()
throws IOException
IOExceptionpublic QueryMaker getQueryMaker(ReadTask readTask)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||