public class SchemaRelationshipLoadClauseBuilder extends AbstractSchemaLoadClauseBuilder implements LoadClauseBuilder
pretty, schema
Constructor and Description |
---|
SchemaRelationshipLoadClauseBuilder(Schema schema) |
Modifier and Type | Method and Description |
---|---|
String |
build(String label,
int depth)
Build load clause based on given parameters, expecting the node variable to expand to be 'n'
|
String |
build(String variable,
String label,
int depth)
Build load clause based on given parameters
|
expand, expand, newLine
public SchemaRelationshipLoadClauseBuilder(Schema schema)
public String build(String label, int depth)
LoadClauseBuilder
build
in interface LoadClauseBuilder
label
- label of the start nodedepth
- max depth to load, note that some implementations may not accept unlimited depth (-1)public String build(String variable, String label, int depth)
LoadClauseBuilder
build
in interface LoadClauseBuilder
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)Copyright © 2015–2023 Neo Technology, Inc.. All rights reserved.