|
||||||||||
| 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. |
QueryBuilder<O> |
orderBy(java.lang.String orderByProperty)
Set the order by clause of the query with Ordering.ASC. |
QueryBuilder<O> |
orderBy(java.lang.String orderByProperty,
Ordering 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 orderByProperty)
throws java.lang.NullPointerException
Set the order by clause of the query with Ordering.ASC.
orderByProperty - the used for ordering
java.lang.NullPointerException - if the argument is null
QueryBuilder<O> orderBy(java.lang.String orderByProperty,
Ordering orderBy)
throws java.lang.NullPointerException
Set the order by clause of the query.
orderByProperty - the used for orderingorderBy - define the order (ASC or DESC)
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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||