Package ddf.catalog.plugin
Interface PostFederatedQueryPlugin
public interface PostFederatedQueryPlugin
A PostFederatedQueryPlugin is used to execute functionality after a federated query has been
executed. For example if metrics need to be recorded on the query, a PostFederatedQueryPlugin
could be implemented to do this prior to the query response being returned to the
CatalogFramework.- Author:
- rodgersh
-
Method Summary
Modifier and TypeMethodDescriptionprocess(QueryResponse input) Processes aQueryResponseafter the execution of the FederatedQuery.
-
Method Details
-
process
Processes aQueryResponseafter the execution of the FederatedQuery.- Parameters:
input- the FederatedQueryResponseto process- Returns:
- the value of the processed
QueryResponseto pass to the nextPostFederatedQueryPlugin, or if this is the lastPostFederatedQueryPluginto be called - Throws:
PluginExecutionException- thrown when an error occurs while processing theQueryResponseStopProcessingException- thrown to halt processing when a critical issue occurs during processing. This is intended to prevent other plugins from processing as well.
-