Class JoinPathFactory

  • All Implemented Interfaces:
    org.tentackle.common.PathFactory<JoinPath,​Join>

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

      Constructors 
      Constructor Description
      JoinPathFactory()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      JoinPath create​(java.util.List<Join> elements, java.util.List<JoinPath> paths)  
      JoinPath create​(java.util.List<Join> elements, JoinPath path)  
      java.util.List<JoinPath> createPaths​(java.util.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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.tentackle.common.PathFactory

        merge
    • Constructor Detail

      • JoinPathFactory

        public JoinPathFactory()
    • Method Detail

      • create

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

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

        public java.util.List<JoinPath> createPaths​(java.util.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