@FunctionalInterface
public interface QueryExecutor<Result,Param>
Consider extending QueryExecutorBase instead unless you know what you're doing.
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(Param queryParameters,
Processor<? super Result> consumer)
Find some results according to queryParameters and feed them to consumer.
|
boolean execute(Param queryParameters, Processor<? super Result> consumer)
false, stop.false if the searching should be stopped immediately. This should happen only when consumer has returned false.