org.springframework.data.neo4j.support.path
Interface PathMapper<T>
- All Known Implementing Classes:
- EntityMapper, EntityMapper.WithoutResult, PathMapper.WithoutResult
public interface PathMapper<T>
A mapper for paths as the generic return type of querying graph operations. Simple results like just nodes
or relationships are also wrapped in a @{see Path} for uniform access.
Allows iteration control when implementing @{see IterationController}. Default iteration mode is @{see IterationMode#LAZY}
Inner class @{see PathMapper.WithoutResult} allows callbacks instead and comes with an eager iteration mode.
- Since:
- 19.02.11
- Author:
- mh
- See Also:
Path
Method Summary |
T |
mapPath(org.neo4j.graphdb.Path path)
map operation, converts the path to any other, specified type instance |
mapPath
T mapPath(org.neo4j.graphdb.Path path)
- map operation, converts the path to any other, specified type instance
- Parameters:
path
- given path
- Returns:
- mapped type instance
Copyright © 2012 SpringSource. All Rights Reserved.