@Component public interface UnstructuredDataSink extends SinkBase
| Modifier and Type | Method and Description |
|---|---|
default void |
addData(CrawleableUri uri,
byte[] data)
Stores the given data for the given URI.
|
void |
addData(CrawleableUri uri,
InputStream stream)
Stores the data from the given stream for the given URI.
|
default void |
addData(CrawleableUri uri,
String data)
Stores the given data for the given URI.
|
closeSinkForUri, openSinkForUridefault void addData(CrawleableUri uri, String data)
uri - the URI for which the data should be storeddata - the data that should be storeddefault void addData(CrawleableUri uri, byte[] data)
uri - the URI for which the data should be storeddata - the data that should be storedvoid addData(CrawleableUri uri, InputStream stream)
uri - the URI for which the data should be storedstream - the stream from which the data will be read that should be storedCopyright © 2017–2019. All rights reserved.