Class FacetPathUtils

java.lang.Object
org.aksw.facete.v4.impl.FacetPathUtils

public class FacetPathUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    getDirectChildren(ScopedFacetPath basePath, org.aksw.commons.util.direction.Direction direction, Collection<ScopedFacetPath> pool)
    Adaption for scoped facet paths
    static Set<org.aksw.jenax.path.core.FacetPath>
    getDirectChildren(org.aksw.jenax.path.core.FacetPath basePath, org.aksw.commons.util.direction.Direction direction, Collection<org.aksw.jenax.path.core.FacetPath> pool)
    Given a pool of paths, return those that are a direct successor of 'basePath' in the specified direction.
    static org.aksw.jenax.path.core.FacetPath
    toElementId(org.aksw.jenax.path.core.FacetPath path)
    Replace the last step of a FacetPath with one that refers to the graph pattern itself.
    static org.aksw.jenax.path.core.FacetStep
    toElementId(org.aksw.jenax.path.core.FacetStep step)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FacetPathUtils

      public FacetPathUtils()
  • Method Details

    • toElementId

      public static org.aksw.jenax.path.core.FacetStep toElementId(org.aksw.jenax.path.core.FacetStep step)
    • toElementId

      public static org.aksw.jenax.path.core.FacetPath toElementId(org.aksw.jenax.path.core.FacetPath path)
      Replace the last step of a FacetPath with one that refers to the graph pattern itself.
    • getDirectChildren

      public static Set<org.aksw.jenax.path.core.FacetPath> getDirectChildren(org.aksw.jenax.path.core.FacetPath basePath, org.aksw.commons.util.direction.Direction direction, Collection<org.aksw.jenax.path.core.FacetPath> pool)
      Given a pool of paths, return those that are a direct successor of 'basePath' in the specified direction.
    • getDirectChildren

      public static Set<ScopedFacetPath> getDirectChildren(ScopedFacetPath basePath, org.aksw.commons.util.direction.Direction direction, Collection<ScopedFacetPath> pool)
      Adaption for scoped facet paths