Interface ProjectionQuery

All Known Implementing Classes:
AggregatedProjectionQuery, ListProjectionQuery, SingleProjectionQuery

public interface ProjectionQuery
  • Method Summary

    Modifier and Type Method Description
    okhttp3.HttpUrl constructUrl​(okhttp3.HttpUrl rootUrl)
    Build the full URL for the projection query
    Optional<Class> responseClass()
    Class that the data in the projection result should be serialized to.
    Optional<UUID> tenantId()  
  • Method Details

    • constructUrl

      okhttp3.HttpUrl constructUrl​(okhttp3.HttpUrl rootUrl)
      Build the full URL for the projection query
      Parameters:
      rootUrl - the root API url (normally Serialized public API)
      Returns:
      the full query url
    • tenantId

      Optional<UUID> tenantId()
    • responseClass

      Optional<Class> responseClass()
      Class that the data in the projection result should be serialized to.
      Returns:
      the response class