Class VarHelper

java.lang.Object
org.aksw.jenax.graphql.sparql.v2.api2.VarHelper

public class VarHelper extends Object
Jena lacks a method that directly extracts all in-scope variables of an Op. One way to accomplish this is to apply scope rename and then list all variables that are in the root scope.
  • Constructor Details

    • VarHelper

      public VarHelper()
  • Method Details

    • visibleVars

      public static Set<org.apache.jena.sparql.core.Var> visibleVars(org.apache.jena.sparql.algebra.Op op)
    • vars

      public static Set<org.apache.jena.sparql.core.Var> vars(org.apache.jena.sparql.syntax.Element elt)