Spring Data Neo4j

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

Nested Class Summary
static class PathMapper.WithoutResult
          callback instead of mapping
 
Method Summary
 T mapPath(org.neo4j.graphdb.Path path)
          map operation, converts the path to any other, specified type instance
 

Method Detail

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

Spring Data Neo4j

Copyright © 2013 SpringSource. All Rights Reserved.