Package ddf.catalog.plugin
Interface PostQueryPlugin
public interface PostQueryPlugin
A PostQueryPlugin is used to execute functionality after a query has been executed. For example
if query results needed to be filtered, a PostQueryPlugin could be implemented and executed after
a query to do filtering.
-
Method Summary
Modifier and TypeMethodDescriptionprocess(QueryResponse input) Processes aQueryResponseafter the execution of theQuery.
-
Method Details
-
process
Processes aQueryResponseafter the execution of theQuery.- Parameters:
input- theQueryResponseto process- Returns:
- the value of the processed
QueryResponseto pass to the nextPostQueryPlugin, or if this is the lastPostQueryPluginto 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.
-