org.eclipse.smila.importing.crawler.web
Interface RecordProducer
- All Known Implementing Classes:
- SimpleRecordProducer
public interface RecordProducer
Produces resulting records from fetched input record. Implementations may map the fetched attributes of the input
record to output record attributes. It's also possible to split the input record to multiple output records, or to
filter out the input record and return an empty result.
produceRecords
java.util.Collection<Record> produceRecords(Record record,
AnyMap parameters,
TaskLog log)
throws WebCrawlerException
- Returns:
- collection of records, maybe empty. May also return more than one if input record is split.
- Throws:
WebCrawlerException