public interface QueryDelegate
Modifier and Type | Interface and Description |
---|---|
static interface |
QueryDelegate.Factory
A factory for creating query delegates.
|
void prepare() throws java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
- in case of failure to prepare (e.g., parse) the
query, usually because of an exceptionjava.lang.Object execute(java.lang.Object target, java.util.Map<java.lang.String,?> arguments) throws java.lang.reflect.InvocationTargetException
target
- the object against which to execute the query; must be an instance of the context
with which the delegate was createdarguments
- a map of parameter names to values; must correspond to the parameters
with which the delegate was createdjava.lang.reflect.InvocationTargetException
- in case of failure to execute the
query, usually because of an exception