Package org.aksw.facete.v4.impl
Class FacetPathUtils
java.lang.Object
org.aksw.facete.v4.impl.FacetPathUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Set<ScopedFacetPath>getDirectChildren(ScopedFacetPath basePath, org.aksw.commons.util.direction.Direction direction, Collection<ScopedFacetPath> pool) Adaption for scoped facet pathsstatic 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.FacetPathtoElementId(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.FacetSteptoElementId(org.aksw.jenax.path.core.FacetStep step)
-
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
-