public interface QueryDelegate
| Modifier and Type | Interface and Description |
|---|---|
static interface |
QueryDelegate.Factory
A factory for creating query delegates.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
execute(java.lang.Object target,
java.util.Map<java.lang.String,?> arguments)
Executes the query against the specified target object.
|
void |
prepare()
Prepares (e.g., parses) the query for execution.
|
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 exceptionCopyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature