org.odata4j.consumer
Class ConsumerQueryLinksRequest
java.lang.Object
org.odata4j.consumer.AbstractConsumerQueryRequestBase<OEntityId>
org.odata4j.consumer.ConsumerQueryLinksRequest
- All Implemented Interfaces:
- OQueryRequest<OEntityId>
public class ConsumerQueryLinksRequest
- extends AbstractConsumerQueryRequestBase<OEntityId>
Query-links-request implementation.
Methods inherited from class org.odata4j.consumer.AbstractConsumerQueryRequestBase |
buildRequest, custom, expand, filter, getClient, getEntitySet, getMetadata, getSegments, getServiceRootUri, nav, nav, orderBy, select, skip, top |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsumerQueryLinksRequest
public ConsumerQueryLinksRequest(ODataClient client,
String serviceRootUri,
EdmDataServices metadata,
OEntityId sourceEntity,
String targetNavProp)
execute
public Enumerable<OEntityId> execute()
throws ODataProducerException
- Description copied from interface:
OQueryRequest
- Sends the query-request to the OData service, returning a client-side
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
.
- Returns:
- the response as a client-side enumerable
- Throws:
ODataProducerException
- error from the producer
linksPath
public static Func1<String,String> linksPath(String targetNavProp,
Object[] targetKeyValues)
http://odata4j.org