Package ddf.catalog.plugin
Interface PreQueryPlugin
public interface PreQueryPlugin
A PreQueryPlugin is used to execute functionality after a query has been executed. For example if
a query needed to be altered, a PreQueryPlugin could be implemented to alter the query prior to
execution.
-
Method Summary
Modifier and TypeMethodDescriptionprocess(QueryRequest input) Processes aQueryRequestprior to execution of the.invalid reference
Query
-
Method Details
-
process
Processes aQueryRequestprior to execution of the.invalid reference
Query- Parameters:
input- theQueryRequestto process- Returns:
- the value of the processed
QueryRequestto pass to the nextPreQueryPlugin, or if this is the lastPreQueryPluginto 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.
-