Class ExprListUtils

java.lang.Object
org.aksw.jenax.arq.util.expr.ExprListUtils

public class ExprListUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    contains(org.apache.jena.sparql.expr.ExprList exprList, org.apache.jena.sparql.expr.Expr expr)
     
    static org.apache.jena.sparql.expr.ExprList
     
    static org.apache.jena.sparql.expr.ExprList
    nodesToExprs(Iterable<org.apache.jena.graph.Node> nodes)
    Apply ExprLib.nodeToExpr for an iterable of nodes
    static Set<Set<org.apache.jena.sparql.expr.Expr>>
    toSets(List<org.apache.jena.sparql.expr.ExprList> clauses)
    Convert a list of exprlists into a set of sets

    Methods inherited from class java.lang.Object

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

    • ExprListUtils

      public ExprListUtils()
  • Method Details

    • nodesToExprs

      public static org.apache.jena.sparql.expr.ExprList nodesToExprs(Iterable<org.apache.jena.graph.Node> nodes)
      Apply ExprLib.nodeToExpr for an iterable of nodes
    • toSets

      public static Set<Set<org.apache.jena.sparql.expr.Expr>> toSets(List<org.apache.jena.sparql.expr.ExprList> clauses)
      Convert a list of exprlists into a set of sets
    • contains

      public static boolean contains(org.apache.jena.sparql.expr.ExprList exprList, org.apache.jena.sparql.expr.Expr expr)
    • fromUris

      public static org.apache.jena.sparql.expr.ExprList fromUris(Iterable<String> uris)