public class GraphRowModelMapper extends Object implements ResponseMapper<GraphModel>
Constructor and Description |
---|
GraphRowModelMapper(MetaData metaData,
MappingContext mappingContext,
EntityInstantiator entityInstantiator) |
Modifier and Type | Method and Description |
---|---|
<T> Iterable<T> |
map(Class<T> type,
Response<GraphModel> response)
Maps the data representation in the given response onto instances of
T . |
public GraphRowModelMapper(MetaData metaData, MappingContext mappingContext, EntityInstantiator entityInstantiator)
public <T> Iterable<T> map(Class<T> type, Response<GraphModel> response)
ResponseMapper
T
.map
in interface ResponseMapper<GraphModel>
T
- type of the resulttype
- The Class
defining the type to which each entities in the response should be mappedresponse
- The Response
object containing the data to map onto the objectsIterable
of type T
containing relevant data extracted from the responseCopyright © 2015–2023 Neo Technology, Inc.. All rights reserved.