org.apache.olingo.server.api.processor

## Interface CountPrimitiveCollectionProcessor

- All Superinterfaces:
    PrimitiveCollectionProcessor, Processor

      public interface CountPrimitiveCollectionProcessor
      extends PrimitiveCollectionProcessor

  Processor interface for handling counting a collection of primitive properties, e.g. an collection of EdmString.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `countPrimitiveCollection(ODataRequest request, ODataResponse response, UriInfo uriInfo)` Counts primitive properties from persistence and puts serialized content and status into the response.

    - ### Methods inherited from interface org.apache.olingo.server.api.processor.PrimitiveCollectionProcessor

      `deletePrimitiveCollection, readPrimitiveCollection, updatePrimitiveCollection`

    - ### Methods inherited from interface org.apache.olingo.server.api.processor.Processor

      `init`

- - ### Method Detail

    - #### countPrimitiveCollection

          void countPrimitiveCollection(ODataRequest request,
                                        ODataResponse response,
                                        UriInfo uriInfo)
                                 throws ODataApplicationException,
                                        ODataLibraryException

      Counts primitive properties from persistence and puts serialized content and status into the response. Response content type is `text/plain` by default.
      Parameters:
        `request` - OData request object containing raw HTTP information.
        `response` - OData response object for collecting response data
        `uriInfo` - information of a parsed OData URI
      Throws:
        `ODataApplicationException` - if the service implementation encounters a failure
        `ODataLibraryException`

Copyright © 2013–2022 The Apache Software Foundation. All rights reserved.