Class ODataRequestCount

All Implemented Interfaces:
ODataRequestExecutable

public class ODataRequestCount extends ODataRequestRead
The result type of the OData Count request.
  • Constructor Details

    • ODataRequestCount

      public ODataRequestCount(@Nonnull String servicePath, @Nonnull String entityName, @Nullable String encodedQuery, @Nonnull ODataProtocol protocol)
      Default constructor for OData Count request.
      Parameters:
      servicePath - The OData service path.
      entityName - The OData entity name.
      encodedQuery - Optional: The encoded HTTP query, if any.
      protocol - The OData protocol to use.
    • ODataRequestCount

      public ODataRequestCount(@Nonnull String servicePath, @Nonnull ODataResourcePath resourcePath, @Nullable String encodedQuery, @Nonnull ODataProtocol protocol)
      Default constructor for OData Count request.
      Parameters:
      servicePath - The OData service path.
      resourcePath - The ODataResourcePath that identifies the collection to be counted.
      encodedQuery - Optional: The encoded HTTP query, if any.
      protocol - The OData protocol to use.
    • ODataRequestCount

      public ODataRequestCount(@Nonnull String servicePath, @Nonnull ODataResourcePath resourcePath, @Nonnull StructuredQuery query)
      Constructor with StructuredQuery for OData Count request.
      Parameters:
      servicePath - The OData service path.
      resourcePath - The ODataResourcePath that identifies the collection to be counted.
      query - The structured query.
  • Method Details