|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.odata4j.consumer.AbstractConsumerQueryRequestBase<T> org.odata4j.consumer.ConsumerFunctionCallRequest<T>
public class ConsumerFunctionCallRequest<T extends OObject>
Function-call-request implementation.
Constructor Summary | |
---|---|
ConsumerFunctionCallRequest(ODataClient client,
String serviceRootUri,
EdmDataServices metadata,
String lastSegment)
|
Method Summary | |
---|---|
Enumerable<T> |
execute()
Sends the query-request to the OData service, returning a client-side Enumerable for subsequent in-memory operations. |
ConsumerFunctionCallRequest<T> |
parameter(String name,
OObject value)
Adds a generic parameter. |
OFunctionRequest<T> |
pBoolean(String name,
boolean value)
Adds a boolean parameter. |
OFunctionRequest<T> |
pByte(String name,
UnsignedByte value)
Adds a byte parameter. |
OFunctionRequest<T> |
pDateTime(String name,
Calendar value)
Adds a datetime parameter. |
OFunctionRequest<T> |
pDateTime(String name,
Date value)
Adds a datetime parameter. |
OFunctionRequest<T> |
pDateTime(String name,
LocalDateTime value)
Adds a datetime parameter. |
OFunctionRequest<T> |
pDecimal(String name,
BigDecimal value)
Adds a decimal parameter. |
OFunctionRequest<T> |
pDouble(String name,
double value)
Adds a double parameter. |
OFunctionRequest<T> |
pGuid(String name,
Guid value)
Adds a guid parameter. |
OFunctionRequest<T> |
pInt16(String name,
short value)
Adds a 16-bit integer parameter. |
OFunctionRequest<T> |
pInt32(String name,
int value)
Adds a 32-bit integer parameter. |
OFunctionRequest<T> |
pInt64(String name,
long value)
Adds a 64-bit integer parameter. |
OFunctionRequest<T> |
pSByte(String name,
byte value)
Adds a sbyte parameter. |
OFunctionRequest<T> |
pSingle(String name,
float value)
Adds a single parameter. |
OFunctionRequest<T> |
pString(String name,
String value)
Adds a string parameter. |
OFunctionRequest<T> |
pTime(String name,
Calendar value)
Adds a time parameter. |
OFunctionRequest<T> |
pTime(String name,
Date value)
Adds a time parameter. |
OFunctionRequest<T> |
pTime(String name,
LocalDateTime value)
Adds a time parameter. |
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 |
Methods inherited from interface org.odata4j.core.OQueryRequest |
---|
custom, expand, filter, nav, nav, orderBy, select, skip, top |
Constructor Detail |
---|
public ConsumerFunctionCallRequest(ODataClient client, String serviceRootUri, EdmDataServices metadata, String lastSegment)
Method Detail |
---|
public Enumerable<T> execute() throws ODataProducerException
OQueryRequest
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
.
execute
in interface OQueryRequest<T extends OObject>
ODataProducerException
- error from the producerpublic ConsumerFunctionCallRequest<T> parameter(String name, OObject value)
OFunctionRequest
parameter
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pBoolean(String name, boolean value)
OFunctionRequest
pBoolean
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pByte(String name, UnsignedByte value)
OFunctionRequest
pByte
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pDateTime(String name, Calendar value)
OFunctionRequest
pDateTime
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pDateTime(String name, Date value)
OFunctionRequest
pDateTime
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pDateTime(String name, LocalDateTime value)
OFunctionRequest
pDateTime
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pDecimal(String name, BigDecimal value)
OFunctionRequest
pDecimal
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pDouble(String name, double value)
OFunctionRequest
pDouble
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pGuid(String name, Guid value)
OFunctionRequest
pGuid
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pInt16(String name, short value)
OFunctionRequest
pInt16
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pInt32(String name, int value)
OFunctionRequest
pInt32
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pInt64(String name, long value)
OFunctionRequest
pInt64
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pSByte(String name, byte value)
OFunctionRequest
pSByte
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pSingle(String name, float value)
OFunctionRequest
pSingle
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pString(String name, String value)
OFunctionRequest
pString
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pTime(String name, Calendar value)
OFunctionRequest
pTime
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pTime(String name, Date value)
OFunctionRequest
pTime
in interface OFunctionRequest<T extends OObject>
public OFunctionRequest<T> pTime(String name, LocalDateTime value)
OFunctionRequest
pTime
in interface OFunctionRequest<T extends OObject>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |