public interface Exporter
| Modifier and Type | Method and Description |
|---|---|
void |
export(java.util.Collection<Document> documents)
Exports the documents.
|
default void |
export(java.util.Collection<Document> documents,
ExporterQueryContext queryContext)
Exports the documents, with their related
ExporterQueryContext. |
java.lang.String |
getName() |
void |
init(ParameterStructure parameters)
Initializes the exporter and tests whether the
ServerDataSources the exporter needed
for exporting data (if any) is reachable and has been correctly configured. |
default void |
interrupt() |
void init(ParameterStructure parameters) throws ConfigurationException, java.net.ConnectException, InternalErrorException
ServerDataSources 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.java.net.ConnectException - if a connection error occurs. Typically, the connection to a
ServerDataSource was refused remotely.InternalErrorException - if a severe error occurs.java.lang.String getName()
void export(java.util.Collection<Document> documents) throws ExporterException
documents - Collection of DocumentsExporterExceptiondefault void export(java.util.Collection<Document> documents, ExporterQueryContext queryContext) throws ExporterException
ExporterQueryContext.documents - Collection of Documents to exportqueryContext - Context with the query and its parameters that originated those
Documents to exportExporterExceptiondefault void interrupt()
throws ExporterException
ExporterExceptionCopyright © 2024 Denodo Technologies. All rights reserved.