Class JoinPathFactory

java.lang.Object
org.tentackle.wurblet.JoinPathFactory
All Implemented Interfaces:
org.tentackle.common.PathFactory<JoinPath,Join>

public class JoinPathFactory extends Object implements org.tentackle.common.PathFactory<JoinPath,Join>
Factory for relation paths.
Author:
harald
  • Constructor Details

    • JoinPathFactory

      public JoinPathFactory()
  • Method Details

    • create

      public JoinPath create(List<Join> elements, List<JoinPath> paths)
      Specified by:
      create in interface org.tentackle.common.PathFactory<JoinPath,Join>
    • create

      public JoinPath create(List<Join> elements, JoinPath path)
      Specified by:
      create in interface org.tentackle.common.PathFactory<JoinPath,Join>
    • createPaths

      public List<JoinPath> createPaths(List<WurbletArgument> arguments)
      Creates a list of consolidated paths from wurblet arguments.
      Identical leading path segments are consolidated to a single path with child paths.
      Parameters:
      arguments - the wurblet arguments
      Returns:
      the list of paths, empty if none, never null