Interface JPAConvertableResult

All Known Implementing Classes:
JPACollectionQueryResult, JPAExpandQueryResult

public interface JPAConvertableResult
  • Method Details

    • asEntityCollection

      Map<String,​org.apache.olingo.commons.api.data.EntityCollection> asEntityCollection(JPATupleChildConverter converter) throws org.apache.olingo.server.api.ODataApplicationException
      Parameters:
      converter -
      Returns:
      Throws:
      org.apache.olingo.server.api.ODataApplicationException
    • putChildren

      void putChildren(Map<com.sap.olingo.jpa.metadata.core.edm.mapper.api.JPAAssociationPath,​JPAExpandResult> childResults) throws org.apache.olingo.server.api.ODataApplicationException
      Throws:
      org.apache.olingo.server.api.ODataApplicationException
    • getEntityCollection

      org.apache.olingo.commons.api.data.EntityCollection getEntityCollection(String key) throws org.apache.olingo.server.api.ODataApplicationException
      Returns the entity collection of a given key. This method may internally perform asEntityCollection
      Parameters:
      key -
      Returns:
      Throws:
      org.apache.olingo.server.api.ODataApplicationException
    • getKeyBoundary

      Returns a key pair if the query had $top and/or $skip and the key of the entity implements Comparable.
      Type Parameters:
      T -
      Parameters:
      requestContext -
      hops -
      Returns:
      Throws:
      ODataJPAQueryException