|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.lucene.benchmark.byTask.feeds.ContentSource
org.apache.lucene.benchmark.byTask.feeds.SingleDocSource
org.apache.lucene.benchmark.byTask.feeds.SortableSingleDocSource
public class SortableSingleDocSource
Adds fields appropriate for sorting: country, random_string and sort_field (int). Supports the following parameters:
Field Summary |
---|
Fields inherited from class org.apache.lucene.benchmark.byTask.feeds.ContentSource |
---|
BUFFER_SIZE, encoding, forever, logStep, verbose |
Constructor Summary | |
---|---|
SortableSingleDocSource()
|
Method Summary | |
---|---|
DocData |
getNextDocData(DocData docData)
Returns the next DocData from the content source. |
void |
setConfig(Config config)
Sets the Config for this content source. |
Methods inherited from class org.apache.lucene.benchmark.byTask.feeds.SingleDocSource |
---|
close, resetInputs |
Methods inherited from class org.apache.lucene.benchmark.byTask.feeds.ContentSource |
---|
addBytes, addDoc, collectFiles, getBytesCount, getConfig, getDocsCount, getInputStream, getTotalBytesCount, getTotalDocsCount, shouldLog |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SortableSingleDocSource()
Method Detail |
---|
public DocData getNextDocData(DocData docData) throws NoMoreDataException
ContentSource
DocData
from the content source.
getNextDocData
in class SingleDocSource
NoMoreDataException
public void setConfig(Config config)
ContentSource
Config
for this content source. If you override this
method, you must call super.setConfig.
setConfig
in class ContentSource
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |