|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the entity representation as a java typepublic interface OQueryRequest<T>
A consumer-side query-request builder. Call execute()
to issue the request.
Method Summary | |
---|---|
OQueryRequest<T> |
custom(String name,
String value)
Adds a custom name-value pair. |
Enumerable<T> |
execute()
Sends the query-request to the OData service, returning a client-side Enumerable for subsequent in-memory operations. |
OQueryRequest<T> |
expand(String expand)
Sets the expand expressions. |
OQueryRequest<T> |
filter(String filter)
Sets the filter expression. |
OQueryRequest<T> |
nav(Object keyValue,
String navProperty)
Navigates to a referenced collection using a collection-valued navigation property. |
OQueryRequest<T> |
nav(OEntityKey key,
String navProperty)
Navigates to a referenced collection using a collection-valued navigation property. |
OQueryRequest<T> |
orderBy(String orderBy)
Sets the ordering expressions. |
OQueryRequest<T> |
select(String select)
Sets the selection clauses. |
OQueryRequest<T> |
skip(int skip)
Sets the number of items to skip. |
OQueryRequest<T> |
top(int top)
Sets the number of items to return. |
Method Detail |
---|
OQueryRequest<T> custom(String name, String value)
name
- the namevalue
- the value
Enumerable<T> execute() throws ODataProducerException
Enumerable
for subsequent in-memory operations.
The returned enumerable transparently handles server-side paging and deferred enumeration.
Subsequent server calls are handled within the enumerable's Iterator
.
ODataProducerException
- error from the producerOQueryRequest<T> expand(String expand)
expand
- the expand expressions
OQueryRequest<T> filter(String filter)
filter
- the filter expression
OQueryRequest<T> nav(Object keyValue, String navProperty)
keyValue
- identify an entity in the current entity-set using this key valuenavProperty
- the collection-valued navigation property off of the entity
OQueryRequest<T> nav(OEntityKey key, String navProperty)
key
- identify an entity in the current entity-set using this entity-keynavProperty
- the collection-valued navigation property off of the entity
OQueryRequest<T> orderBy(String orderBy)
orderBy
- the ordering expressions
OQueryRequest<T> select(String select)
select
- the selection clauses
OQueryRequest<T> skip(int skip)
skip
- the number of items to skip
OQueryRequest<T> top(int top)
top
- the number of items to return
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |