Interface CountEntityCollectionProcessor
- All Superinterfaces:
EntityCollectionProcessor
,Processor
Processor interface for handling counting a collection of entities, e.g. an Entity Set.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
countEntityCollection
(ODataRequest request, ODataResponse response, UriInfo uriInfo) Counts entities from persistence and puts serialized content and status into the response.Methods inherited from interface org.apache.olingo.server.api.processor.EntityCollectionProcessor
readEntityCollection
-
Method Details
-
countEntityCollection
void countEntityCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo) throws ODataApplicationException, ODataLibraryException Counts entities from persistence and puts serialized content and status into the response. Response content type istext/plain
by default.- Parameters:
request
- OData request object containing raw HTTP information.response
- OData response object for collecting response datauriInfo
- information of a parsed OData URI- Throws:
ODataApplicationException
- if the service implementation encounters a failureODataLibraryException
-