Interface QueryDef
-
public interface QueryDefThe query definition used to build queries in fluent style.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T extends Result>
Texecute(Class<T> clazz)Executes a query.QueryDefon(String key, Object value)Adds an argument to the query.QueryDefon(List<Object> arguments)Adds multiple arguments to the query.
-
-
-
Method Detail
-
on
QueryDef on(String key, Object value)
Adds an argument to the query.- Parameters:
key- the ID of the parametervalue- the value of the parameter- Returns:
- the query definition object
-
on
QueryDef on(List<Object> arguments)
Adds multiple arguments to the query.- Parameters:
arguments- the collection of arguments- Returns:
- the query definition object
-
-