|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
O - the object type parameterpublic interface ObjectQueryBuilder<O>
| Method Summary | ||
|---|---|---|
|
from(Class<O> fromClass)
Set the node type of the from clause of the query. |
|
ObjectQuery<O> |
get()
Compute and returns the ObjectQuery for this builder. |
|
ObjectQueryResult<O> |
iterator()
Compute and executes the query. |
|
|
orderBy(String orderBy)
Set the order by clause of the query. |
|
|
where(String where)
Set the where clause of the query. |
|
| Method Detail |
|---|
<O> ObjectQueryBuilder<O> from(Class<O> fromClass)
throws NullPointerException,
IllegalStateException,
IllegalArgumentException
Set the node type of the from clause of the query. It is possible to call that method only once and any attempt to call this method a second time will throw an IllegalStateException.
O - the object type parameterfromClass - the node type of the from clause
NullPointerException - if the argument is null
IllegalStateException - if the builder already has a from clause
IllegalArgumentException - if the from class cannot be mapped to a node type
<O> ObjectQueryBuilder<O> where(String where)
throws NullPointerException
Set the where clause of the query.
O - the object type parameterwhere - the where clause
NullPointerException - if the argument is null
<O> ObjectQueryBuilder<O> orderBy(String orderBy)
throws NullPointerException
Set the order by clause of the query.
O - the object type parameterorderBy - the order by clause
NullPointerException - if the argument is null
ObjectQuery<O> get()
throws IllegalStateException
Compute and returns the ObjectQuery for this builder.
IllegalStateException - if the builder cannot build the query
ObjectQueryResult<O> iterator()
throws IllegalStateException
Compute and executes the query.
iterator in interface Iterable<O>IllegalStateException - if the builder cannot build the query to execute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||