Package org.xwiki.query
Interface QueryBuilder<T>
-
- Type Parameters:
T
- the type of data used to build the query
@Role public interface QueryBuilder<T>
Generic interface to build aQuery
from some data.- Since:
- 9.8RC1
- Version:
- $Id: 878fce4fba73df2365a5a0df5ba1210f4213360a $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Query
build(T data)
Builds a query from the specified data.
-
-
-
Method Detail
-
build
Query build(T data) throws QueryException
Builds a query from the specified data.- Parameters:
data
- the data used to build the query- Returns:
- the built query
- Throws:
QueryException
- if building the query fails
-
-