Package ddf.catalog.plugin
Interface PreFederatedQueryPlugin
- All Known Implementing Classes:
PreFederatedLocalProviderQueryPlugin
public interface PreFederatedQueryPlugin
A PreFederatedQueryPlugin is used to execute functionality before a federated query has been
executed. For example if a query needed to be altered, a PreFederatedQueryPlugin could be
implemented to alter the query prior to execution.
- Author:
- rodgersh
-
Method Summary
Modifier and TypeMethodDescriptionprocess(Source source, QueryRequest input) Processes aQueryRequestprior to execution of the FederatedQuery.
-
Method Details
-
process
QueryRequest process(Source source, QueryRequest input) throws PluginExecutionException, StopProcessingException Processes aQueryRequestprior to execution of the FederatedQuery.- Parameters:
source- theSourcethe query will be sent toinput- theQueryRequestto process- Returns:
- the value of the processed
QueryRequestto pass to the nextPreFederatedQueryPlugin, or if this is the lastPreFederatedQueryPluginto be called - Throws:
PluginExecutionException- thrown when an error occurs while processing theQueryRequestStopProcessingException- thrown to halt processing when a critical issue occurs during processing. This is intended to prevent other plugins from processing as well.
-