public class SampleMetrics extends Object implements PreQueryPlugin
Modifier and Type | Field and Description |
---|---|
protected com.codahale.metrics.Meter |
pointRadiusQueries |
Constructor and Description |
---|
SampleMetrics(FilterAdapter filterAdapter) |
Modifier and Type | Method and Description |
---|---|
QueryRequest |
process(QueryRequest input)
Processes a
QueryRequest prior to execution of the Query . |
public SampleMetrics(FilterAdapter filterAdapter)
public QueryRequest process(QueryRequest input) throws PluginExecutionException, StopProcessingException
PreQueryPlugin
QueryRequest
prior to execution of the Query
.process
in interface PreQueryPlugin
input
- the QueryRequest
to processQueryRequest
to pass to the next PreQueryPlugin
, or if this is the last PreQueryPlugin
to be calledPluginExecutionException
- thrown when an error occurs while processing the QueryRequest
StopProcessingException
- thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.This work is licensed under a Creative Commons Attribution 4.0 International License.