|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface QueryBuilder<O>
The query builder allows to create queries.
| Method Summary | |
|---|---|
Query<O> |
get()
Compute and returns the ObjectQuery for this builder. |
Query<O> |
get(java.lang.Long offset,
java.lang.Long limit)
Compute and returns the ObjectQuery for this builder. |
QueryBuilder<O> |
orderBy(java.lang.String orderBy)
Set the order by clause of the query. |
QueryBuilder<O> |
where(java.lang.String where)
Set the where clause of the query. |
| Method Detail |
|---|
QueryBuilder<O> where(java.lang.String where)
throws java.lang.NullPointerException
Set the where clause of the query.
where - the where clause
java.lang.NullPointerException - if the argument is null
QueryBuilder<O> orderBy(java.lang.String orderBy)
throws java.lang.NullPointerException
Set the order by clause of the query.
orderBy - the order by clause
java.lang.NullPointerException - if the argument is null
Query<O> get()
throws java.lang.IllegalStateException
Compute and returns the ObjectQuery for this builder.
java.lang.IllegalStateException - if the builder cannot build the query
Query<O> get(java.lang.Long offset,
java.lang.Long limit)
throws java.lang.IllegalStateException,
java.lang.IllegalArgumentException
Compute and returns the ObjectQuery for this builder.
offset - the optional offsetlimit - the optional limit
java.lang.IllegalStateException - if the builder cannot build the query
java.lang.IllegalArgumentException - if the offset or limit argument is negative
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||