Class ExpectedVariablesUtils

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.utils.ExpectedVariablesUtils

public class ExpectedVariablesUtils extends Object
  • Constructor Details

    • ExpectedVariablesUtils

      public ExpectedVariablesUtils()
  • Method Details

    • unionOfCertainVariables

      public static Set<org.apache.jena.sparql.core.Var> unionOfCertainVariables(PhysicalPlan... plans)
      Returns a set of all the certain variables in all the given plans. Returns null if no plan is given.
    • unionOfCertainVariables

      public static Set<org.apache.jena.sparql.core.Var> unionOfCertainVariables(ExpectedVariables... e)
      Returns a set of all the certain variables in all the given ExpectedVariables objects. Returns null if no such object is given.
    • unionOfPossibleVariables

      public static Set<org.apache.jena.sparql.core.Var> unionOfPossibleVariables(PhysicalPlan... plans)
      Returns a set of all the possible variables in all the given plans. Returns null if no plan is given.
    • unionOfPossibleVariables

      public static Set<org.apache.jena.sparql.core.Var> unionOfPossibleVariables(ExpectedVariables... e)
      Returns a set of all the possible variables in all the given ExpectedVariables objects. Returns null if no such object is given.
    • unionOfAllVariables

      public static Set<org.apache.jena.sparql.core.Var> unionOfAllVariables(PhysicalPlan... plans)
      Returns a set of all the variables (certain and possible) in all the given plans. Returns null if no plan is given.
    • unionOfAllVariables

      public static Set<org.apache.jena.sparql.core.Var> unionOfAllVariables(ExpectedVariables... e)
      Returns a set of all the variables (certain and possible) in all the given ExpectedVariables objects. Returns null if no such object is given.
    • intersectionOfCertainVariables

      public static Set<org.apache.jena.sparql.core.Var> intersectionOfCertainVariables(PhysicalPlan... plans)
      Returns an intersection of the sets of certain variables in all the given plans. Returns null if no plan is given.
    • intersectionOfCertainVariables

      public static Set<org.apache.jena.sparql.core.Var> intersectionOfCertainVariables(ExpectedVariables... e)
      Returns an intersection of the sets of certain variables in all the given ExpectedVariables objects. Returns null if no such object is given.
    • intersectionOfPossibleVariables

      public static Set<org.apache.jena.sparql.core.Var> intersectionOfPossibleVariables(PhysicalPlan... plans)
      Returns an intersection of the sets of possible variables in all the given plans. Returns null if no plan is given.
    • intersectionOfPossibleVariables

      public static Set<org.apache.jena.sparql.core.Var> intersectionOfPossibleVariables(ExpectedVariables... e)
      Returns an intersection of the sets of possible variables in all the given ExpectedVariables objects. Returns null if no such object is given.
    • intersectionOfAllVariables

      public static Set<org.apache.jena.sparql.core.Var> intersectionOfAllVariables(PhysicalPlan... plans)
      Returns an intersection of the sets of all variables (certain and possible) in all the given plans. Returns null if no plan is given.
    • intersectionOfAllVariables

      public static Set<org.apache.jena.sparql.core.Var> intersectionOfAllVariables(ExpectedVariables... e)
      Returns an intersection of the sets of all variables (certain and possible) in all the given ExpectedVariables objects. Returns null if no such object is given.
    • getExpectedVariables

      public static ExpectedVariables[] getExpectedVariables(PhysicalPlan... plans)