Interface ExporterWithContext
- All Superinterfaces:
Exporter
Exports retrieved information to several targets, such as data bases, files and indexes. Provides
a context of what query and parameters originated the documents to be exported.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidexport(Collection<Document> documents) Exports the documents.voidexport(Collection<Document> documents, ExporterQueryContext queryContext) Exports the documents, with their relatedExporterQueryContext.
-
Method Details
-
export
Description copied from interface:ExporterExports the documents.- Specified by:
exportin interfaceExporter- Parameters:
documents- Collection ofDocuments- Throws:
ExporterException
-
export
void export(Collection<Document> documents, ExporterQueryContext queryContext) throws ExporterException Description copied from interface:ExporterExports the documents, with their relatedExporterQueryContext.- Specified by:
exportin interfaceExporter- Parameters:
documents- Collection ofDocuments to exportqueryContext- Context with the query and its parameters that originated thoseDocuments to export- Throws:
ExporterException
-