public class SortableSingleDocSource extends SingleDocSource
encoding, forever, logStep, verbose| Constructor and Description |
|---|
SortableSingleDocSource() |
| Modifier and Type | Method and Description |
|---|---|
DocData |
getNextDocData(DocData docData)
Returns the next
DocData from the content source. |
void |
setConfig(Config config)
Sets the
Config for this content source. |
close, resetInputsaddBytes, addItem, collectFiles, getBytesCount, getConfig, getItemsCount, getTotalBytesCount, getTotalItemsCount, printStatistics, shouldLogpublic DocData getNextDocData(DocData docData) throws NoMoreDataException
ContentSourceDocData from the content source.
Implementations must account for multi-threading, as multiple threads
can call this method simultaneously.getNextDocData in class SingleDocSourceNoMoreDataExceptionpublic void setConfig(Config config)
ContentItemsSourceConfig for this content source. If you override this
method, you must call super.setConfig.setConfig in class ContentItemsSourceCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.