Spring Data Graph

org.springframework.data.neo4j.core
Interface FieldTraversalDescriptionBuilder


public interface FieldTraversalDescriptionBuilder

Interface for classes that build traversal descriptions. Those classes can be referred to by GraphTraversal.traversalBuilder() to provide fields that return a dynamic traversal on access.

Since:
15.09.2010
Author:
Michael Hunger

Method Summary
 org.neo4j.graphdb.traversal.TraversalDescription build(NodeBacked start, Field field, String... params)
          Builder method for traversal description.
 

Method Detail

build

org.neo4j.graphdb.traversal.TraversalDescription build(NodeBacked start,
                                                       Field field,
                                                       String... params)
Builder method for traversal description.

Parameters:
start - the Entity that contains the field with the dynamic traversal. Used for the parametrization of the traversal description.
field - the concrete field that will provide the traversal. Used for the parametrization of the traversal description.
Returns:
the TraversalDescription to apply on fieldaccess, the start node is the current entity node

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.