| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.odata4j.consumer.ConsumerCountRequest
public class ConsumerCountRequest
Count-request implementation.
| Constructor Summary | |
|---|---|
ConsumerCountRequest(ODataClient client,
                     String serviceRootUri)
 | 
|
| Method Summary | |
|---|---|
 ConsumerCountRequest | 
entitySetName(String entitySetName)
Sets the name of the entity-set to count.  | 
 int | 
execute()
Sends the count-request to the OData service and returns the result.  | 
 ConsumerCountRequest | 
top(int top)
Sets a maximum limit on the result returned.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ConsumerCountRequest(ODataClient client,
                            String serviceRootUri)
| Method Detail | 
|---|
public ConsumerCountRequest entitySetName(String entitySetName)
OCountRequest
entitySetName in interface OCountRequestentitySetName - the name of the entity collection
public int execute()
            throws ODataProducerException
OCountRequest
execute in interface OCountRequestODataProducerException - error from the producerpublic ConsumerCountRequest top(int top)
OCountRequest
top in interface OCountRequesttop - the maximum limit
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||