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, resetInputs
addBytes, addItem, collectFiles, getBytesCount, getConfig, getItemsCount, getTotalBytesCount, getTotalItemsCount, printStatistics, shouldLog
public DocData getNextDocData(DocData docData) throws NoMoreDataException
ContentSource
DocData
from the content source.
Implementations must account for multi-threading, as multiple threads
can call this method simultaneously.getNextDocData
in class SingleDocSource
NoMoreDataException
public void setConfig(Config config)
ContentItemsSource
Config
for this content source. If you override this
method, you must call super.setConfig.setConfig
in class ContentItemsSource