public interface Exporter
Modifier and Type | Method and Description |
---|---|
void |
export(Collection<Document> documents)
Exports the documents.
|
default void |
export(Collection<Document> documents,
ExporterQueryContext queryContext)
Exports the documents, with their related
ExporterQueryContext . |
String |
getName() |
void |
init(ParameterStructure parameters)
Initializes the exporter and tests whether the
ServerDataSource s the exporter needed
for exporting data (if any) is reachable and has been correctly configured. |
default void |
interrupt() |
void init(ParameterStructure parameters) throws ConfigurationException, ConnectException, InternalErrorException
ServerDataSource
s the exporter needed
for exporting data (if any) is reachable and has been correctly configured.parameters
- parameters to initialize the exporter.ConfigurationException
- if the configuration information required by the exporter is
malformed or missing.ConnectException
- if a connection error occurs. Typically, the connection to a
ServerDataSource
was refused remotely.InternalErrorException
- if a severe error occurs.String getName()
void export(Collection<Document> documents) throws ExporterException
documents
- Collection of Document
sExporterException
default void export(Collection<Document> documents, ExporterQueryContext queryContext) throws ExporterException
ExporterQueryContext
.documents
- Collection of Document
s to exportqueryContext
- Context with the query and its parameters that originated those
Document
s to exportExporterException
default void interrupt() throws ExporterException
ExporterException
Copyright © 2025 Denodo Technologies. All rights reserved.