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> model)
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> model)
ResponseMapperT.map in interface ResponseMapper<GraphModel>T - type of the resulttype - The Class defining the type to which each entities in the response should be mappedmodel - The Response object containing the data to map onto the objectsIterable of type T containing relevant data extracted from the responseCopyright © 2015–2020 Neo Technology, Inc.. All rights reserved.