Class ElementGeneratorUtils

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

public class ElementGeneratorUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.aksw.jenax.path.core.FacetPath
    cleanPath(org.aksw.jenax.path.core.FacetPath path)
    Remove the first segment from a path if it does not generate a sparql graph pattern.
    static <P> com.google.common.collect.SetMultimap<P,org.apache.jena.sparql.expr.Expr>
    hideConstraintsForPath(com.google.common.collect.SetMultimap<P,org.apache.jena.sparql.expr.Expr> constaintIndex, P path)
     
    static com.google.common.collect.SetMultimap<org.aksw.jenax.path.core.FacetPath,org.apache.jena.sparql.expr.Expr>
    indexConstraints(Collection<org.apache.jena.sparql.expr.Expr> constraints)
     

    Methods inherited from class java.lang.Object

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

    • ElementGeneratorUtils

      public ElementGeneratorUtils()
  • Method Details

    • indexConstraints

      public static com.google.common.collect.SetMultimap<org.aksw.jenax.path.core.FacetPath,org.apache.jena.sparql.expr.Expr> indexConstraints(Collection<org.apache.jena.sparql.expr.Expr> constraints)
    • hideConstraintsForPath

      public static <P> com.google.common.collect.SetMultimap<P,org.apache.jena.sparql.expr.Expr> hideConstraintsForPath(com.google.common.collect.SetMultimap<P,org.apache.jena.sparql.expr.Expr> constaintIndex, P path)
    • cleanPath

      public static org.aksw.jenax.path.core.FacetPath cleanPath(org.aksw.jenax.path.core.FacetPath path)
      Remove the first segment from a path if it does not generate a sparql graph pattern.