Class TraversalContext

java.lang.Object
org.springframework.data.mapping.TraversalContext

public class TraversalContext extends Object
A context object for lookups of values for PersistentPropertyPaths via a PersistentPropertyAccessor. It allows to register functions to post-process the objects returned for a particular property, so that the subsequent traversal would rather use the processed object. This is especially helpful if you need to traverse paths that contain Collections and Map that usually need indices and keys to reasonably traverse nested properties.
Since:
2.2
Author:
Oliver Drotbohm