Class GraphRowModelMapper

java.lang.Object
org.neo4j.ogm.context.GraphRowModelMapper
All Implemented Interfaces:
ResponseMapper<org.neo4j.ogm.model.GraphModel>

public class GraphRowModelMapper extends Object implements ResponseMapper<org.neo4j.ogm.model.GraphModel>
Author:
Michael J. Simons
  • Constructor Details

  • Method Details

    • map

      public <T> Iterable<T> map(Class<T> type, org.neo4j.ogm.response.Response<org.neo4j.ogm.model.GraphModel> response)
      Description copied from interface: ResponseMapper
      Maps the data representation in the given response onto instances of T.
      Specified by:
      map in interface ResponseMapper<org.neo4j.ogm.model.GraphModel>
      Type Parameters:
      T - type of the result
      Parameters:
      type - The Class defining the type to which each entities in the response should be mapped
      response - The Response object containing the data to map onto the objects
      Returns:
      An Iterable of type T containing relevant data extracted from the response