Interface LoadClauseBuilder

All Known Implementing Classes:
PathNodeLoadClauseBuilder, PathRelationshipLoadClauseBuilder, SchemaNodeLoadClauseBuilder, SchemaRelationshipLoadClauseBuilder

public interface LoadClauseBuilder
Load clause builder builds final part of load queries
Author:
Frantisek Hartman
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    build(String label, int depth)
    Build load clause based on given parameters, expecting the node variable to expand to be 'n'
    build(String variable, String label, int depth)
    Build load clause based on given parameters
  • Method Details

    • build

      default String build(String label, int depth)
      Build load clause based on given parameters, expecting the node variable to expand to be 'n'
      Parameters:
      label - label of the start node
      depth - max depth to load, note that some implementations may not accept unlimited depth (-1)
      Returns:
      Cypher query as string
    • build

      String build(String variable, String label, int depth)
      Build load clause based on given parameters
      Parameters:
      variable - node variable (start node) to be expanded
      label - label of the start node
      depth - max depth to load, note that some implementations may not accept unlimited depth (-1)
      Returns:
      Cypher query as string