|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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()
|
Analyzer |
getAnalyzer()
|
Config |
getConfig()
|
Directory |
getDirectory()
|
DocMaker |
getDocMaker()
Returns the docMaker. |
FacetSource |
getFacetSource()
Returns the facet source. |
IndexReader |
getIndexReader()
|
IndexSearcher |
getIndexSearcher()
|
IndexWriter |
getIndexWriter()
|
Locale |
getLocale()
|
Points |
getPoints()
|
QueryMaker |
getQueryMaker(ReadTask readTask)
|
long |
getStartTimeMillis()
|
Directory |
getTaxonomyDir()
|
TaxonomyReader |
getTaxonomyReader()
|
TaxonomyWriter |
getTaxonomyWriter()
|
void |
reinit(boolean eraseIndex)
|
void |
resetInputs()
|
void |
setAnalyzer(Analyzer analyzer)
|
void |
setDirectory(Directory directory)
|
void |
setIndexReader(IndexReader indexReader)
Set the index reader. |
void |
setIndexWriter(IndexWriter indexWriter)
|
void |
setLocale(Locale locale)
|
long |
setStartTimeMillis()
|
void |
setTaxonomyReader(TaxonomyReader taxoReader)
Set the taxonomy reader. |
void |
setTaxonomyWriter(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 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.
IOException
public 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.
IOException
public 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
IOException
public QueryMaker getQueryMaker(ReadTask readTask)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |