Closeable, AutoCloseablepublic class SortableSingleDocSource extends SingleDocSource
encoding, forever, logStep, verbose| Constructor | Description |
|---|---|
SortableSingleDocSource() |
| Modifier and Type | Method | Description |
|---|---|---|
DocData |
getNextDocData(DocData docData) |
Returns the next
DocData from the content source. |
void |
setConfig(Config config) |
Sets the
Config for this content source. |
addBytes, addItem, collectFiles, getBytesCount, getConfig, getItemsCount, getTotalBytesCount, getTotalItemsCount, printStatistics, shouldLogclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, resetInputspublic 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-2018 Apache Software Foundation. All Rights Reserved.