org.apache.lucene.benchmark.byTask.feeds
Class SimpleDocMaker
java.lang.Object
org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker
org.apache.lucene.benchmark.byTask.feeds.SimpleDocMaker
- All Implemented Interfaces:
- DocMaker
- public class SimpleDocMaker
- extends BasicDocMaker
Create documents for the test
Method Summary |
protected org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker.DocData |
getNextDocData()
Return the data of the next document. |
int |
numUniqueTexts()
Return how many real unique texts are available, 0 if not applicable. |
void |
resetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleDocMaker
public SimpleDocMaker()
resetInputs
public void resetInputs()
- Description copied from interface:
DocMaker
- Reset inputs so that the test run would behave, input wise, as if it just started.
- Specified by:
resetInputs
in interface DocMaker
- Overrides:
resetInputs
in class BasicDocMaker
numUniqueTexts
public int numUniqueTexts()
- Description copied from interface:
DocMaker
- Return how many real unique texts are available, 0 if not applicable.
getNextDocData
protected org.apache.lucene.benchmark.byTask.feeds.BasicDocMaker.DocData getNextDocData()
- Description copied from class:
BasicDocMaker
- Return the data of the next document.
- Specified by:
getNextDocData
in class BasicDocMaker
- Returns:
- data of the next document.
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.