Class PathRelationshipLoadClauseBuilder
java.lang.Object
org.neo4j.ogm.session.request.strategy.impl.PathRelationshipLoadClauseBuilder
- All Implemented Interfaces:
LoadClauseBuilder
Path based load clause builder for nodes - starts from given relationship variable
- Author:
- Frantisek Hartman
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PathRelationshipLoadClauseBuilder
public PathRelationshipLoadClauseBuilder()
-
-
Method Details
-
build
Description copied from interface:LoadClauseBuilder
Build load clause based on given parameters, expecting the node variable to expand to be 'n'- Specified by:
build
in interfaceLoadClauseBuilder
- Parameters:
label
- label of the start nodedepth
- max depth to load, note that some implementations may not accept unlimited depth (-1)- Returns:
- Cypher query as string
-
build
Description copied from interface:LoadClauseBuilder
Build load clause based on given parameters- Specified by:
build
in interfaceLoadClauseBuilder
- Parameters:
variable
- node variable (start node) to be expandedlabel
- label of the start nodedepth
- max depth to load, note that some implementations may not accept unlimited depth (-1)- Returns:
- Cypher query as string
-