Spring Data Graph

org.springframework.data.neo4j.rest
Class RestTraversal

java.lang.Object
  extended by org.springframework.data.neo4j.rest.RestTraversal
All Implemented Interfaces:
org.neo4j.graphdb.traversal.TraversalDescription, RestTraversalDescription

public class RestTraversal
extends Object
implements RestTraversalDescription

Since:
02.02.11
Author:
Michael Hunger

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.springframework.data.neo4j.rest.RestTraversalDescription
RestTraversalDescription.ScriptLanguage
 
Constructor Summary
RestTraversal()
           
 
Method Summary
 RestTraversalDescription breadthFirst()
           
 RestTraversalDescription depthFirst()
           
static RestTraversalDescription description()
           
 RestTraversalDescription evaluator(org.neo4j.graphdb.traversal.Evaluator evaluator)
           
 RestTraversalDescription expand(org.neo4j.graphdb.RelationshipExpander relationshipExpander)
           
 RestTraversalDescription filter(org.neo4j.helpers.Predicate<org.neo4j.graphdb.Path> pathPredicate)
           
 RestTraversalDescription filter(RestTraversalDescription.ScriptLanguage language, String code)
           
 Map<String,Object> getPostData()
           
 RestTraversalDescription maxDepth(int depth)
           
 RestTraversalDescription order(org.neo4j.graphdb.traversal.BranchOrderingPolicy branchOrderingPolicy)
           
 RestTraversalDescription prune(org.neo4j.graphdb.traversal.PruneEvaluator pruneEvaluator)
           
 RestTraversalDescription prune(RestTraversalDescription.ScriptLanguage language, String code)
           
 RestTraversalDescription relationships(org.neo4j.graphdb.RelationshipType relationshipType)
           
 RestTraversalDescription relationships(org.neo4j.graphdb.RelationshipType relationshipType, org.neo4j.graphdb.Direction direction)
           
 String toString()
           
 RestTraverser traverse(org.neo4j.graphdb.Node node)
           
 RestTraversalDescription uniqueness(org.neo4j.graphdb.traversal.UniquenessFactory uniquenessFactory)
           
 RestTraversalDescription uniqueness(org.neo4j.graphdb.traversal.UniquenessFactory uniquenessFactory, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RestTraversal

public RestTraversal()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

uniqueness

public RestTraversalDescription uniqueness(org.neo4j.graphdb.traversal.UniquenessFactory uniquenessFactory)
Specified by:
uniqueness in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
uniqueness in interface RestTraversalDescription

uniqueness

public RestTraversalDescription uniqueness(org.neo4j.graphdb.traversal.UniquenessFactory uniquenessFactory,
                                           Object value)
Specified by:
uniqueness in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
uniqueness in interface RestTraversalDescription

prune

public RestTraversalDescription prune(org.neo4j.graphdb.traversal.PruneEvaluator pruneEvaluator)
Specified by:
prune in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
prune in interface RestTraversalDescription

filter

public RestTraversalDescription filter(org.neo4j.helpers.Predicate<org.neo4j.graphdb.Path> pathPredicate)
Specified by:
filter in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
filter in interface RestTraversalDescription

evaluator

public RestTraversalDescription evaluator(org.neo4j.graphdb.traversal.Evaluator evaluator)
Specified by:
evaluator in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
evaluator in interface RestTraversalDescription

prune

public RestTraversalDescription prune(RestTraversalDescription.ScriptLanguage language,
                                      String code)
Specified by:
prune in interface RestTraversalDescription

filter

public RestTraversalDescription filter(RestTraversalDescription.ScriptLanguage language,
                                       String code)
Specified by:
filter in interface RestTraversalDescription

maxDepth

public RestTraversalDescription maxDepth(int depth)
Specified by:
maxDepth in interface RestTraversalDescription

order

public RestTraversalDescription order(org.neo4j.graphdb.traversal.BranchOrderingPolicy branchOrderingPolicy)
Specified by:
order in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
order in interface RestTraversalDescription

depthFirst

public RestTraversalDescription depthFirst()
Specified by:
depthFirst in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
depthFirst in interface RestTraversalDescription

breadthFirst

public RestTraversalDescription breadthFirst()
Specified by:
breadthFirst in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
breadthFirst in interface RestTraversalDescription

relationships

public RestTraversalDescription relationships(org.neo4j.graphdb.RelationshipType relationshipType)
Specified by:
relationships in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
relationships in interface RestTraversalDescription

relationships

public RestTraversalDescription relationships(org.neo4j.graphdb.RelationshipType relationshipType,
                                              org.neo4j.graphdb.Direction direction)
Specified by:
relationships in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
relationships in interface RestTraversalDescription

expand

public RestTraversalDescription expand(org.neo4j.graphdb.RelationshipExpander relationshipExpander)
Specified by:
expand in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
expand in interface RestTraversalDescription

traverse

public RestTraverser traverse(org.neo4j.graphdb.Node node)
Specified by:
traverse in interface org.neo4j.graphdb.traversal.TraversalDescription
Specified by:
traverse in interface RestTraversalDescription

description

public static RestTraversalDescription description()

getPostData

public Map<String,Object> getPostData()

Spring Data Graph

Copyright © 2011 SpringSource. All Rights Reserved.