|
||||||||||
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)
|
Method Summary | |
---|---|
void |
close()
|
org.apache.lucene.analysis.Analyzer |
getAnalyzer()
|
Config |
getConfig()
|
org.apache.lucene.store.Directory |
getDirectory()
|
DocMaker |
getDocMaker()
Returns the docMaker. |
FacetSource |
getFacetSource()
Returns the facet source. |
org.apache.lucene.index.IndexReader |
getIndexReader()
|
org.apache.lucene.search.IndexSearcher |
getIndexSearcher()
|
org.apache.lucene.index.IndexWriter |
getIndexWriter()
|
Locale |
getLocale()
|
Object |
getPerfObject(String key)
Returns an object that was previously set by setPerfObject(String, Object) . |
Points |
getPoints()
|
QueryMaker |
getQueryMaker(ReadTask readTask)
|
long |
getStartTimeMillis()
|
org.apache.lucene.store.Directory |
getTaxonomyDir()
|
org.apache.lucene.facet.taxonomy.TaxonomyReader |
getTaxonomyReader()
|
org.apache.lucene.facet.taxonomy.TaxonomyWriter |
getTaxonomyWriter()
|
void |
reinit(boolean eraseIndex)
|
void |
resetInputs()
|
void |
setAnalyzer(org.apache.lucene.analysis.Analyzer analyzer)
|
void |
setDirectory(org.apache.lucene.store.Directory directory)
|
void |
setIndexReader(org.apache.lucene.index.IndexReader indexReader)
Set the index reader. |
void |
setIndexWriter(org.apache.lucene.index.IndexWriter indexWriter)
|
void |
setLocale(Locale locale)
|
void |
setPerfObject(String key,
Object obj)
Sets an object that is required by PerfTask s, keyed by the given
key . |
long |
setStartTimeMillis()
|
void |
setTaxonomyReader(org.apache.lucene.facet.taxonomy.TaxonomyReader taxoReader)
Set the taxonomy reader. |
void |
setTaxonomyWriter(org.apache.lucene.facet.taxonomy.TaxonomyWriter taxoWriter)
|
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 Closeable
IOException
public void reinit(boolean eraseIndex) throws Exception
Exception
public Object getPerfObject(String key)
setPerfObject(String, Object)
.
public void setPerfObject(String key, Object obj)
PerfTask
s, 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 org.apache.lucene.store.Directory getDirectory()
public void setDirectory(org.apache.lucene.store.Directory directory)
directory
- The directory to set.public org.apache.lucene.store.Directory getTaxonomyDir()
public void setTaxonomyReader(org.apache.lucene.facet.taxonomy.TaxonomyReader taxoReader) throws IOException
taxoReader
- The taxonomy reader to set.
IOException
public org.apache.lucene.facet.taxonomy.TaxonomyReader getTaxonomyReader()
public void setTaxonomyWriter(org.apache.lucene.facet.taxonomy.TaxonomyWriter taxoWriter)
taxoWriter
- The taxonomy writer to set.public org.apache.lucene.facet.taxonomy.TaxonomyWriter getTaxonomyWriter()
public org.apache.lucene.index.IndexReader getIndexReader()
public org.apache.lucene.search.IndexSearcher getIndexSearcher()
public void setIndexReader(org.apache.lucene.index.IndexReader indexReader) throws IOException
indexReader
- The indexReader to set.
IOException
public org.apache.lucene.index.IndexWriter getIndexWriter()
public void setIndexWriter(org.apache.lucene.index.IndexWriter indexWriter)
indexWriter
- The indexWriter to set.public org.apache.lucene.analysis.Analyzer getAnalyzer()
public void setAnalyzer(org.apache.lucene.analysis.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
IOException
public QueryMaker getQueryMaker(ReadTask readTask)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |