Class PhysicalPlanUtils

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

public class PhysicalPlanUtils extends Object
  • Constructor Details

    • PhysicalPlanUtils

      public PhysicalPlanUtils()
  • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • getExpectedVariables

      public static ExpectedVariables[] getExpectedVariables(PhysicalPlan... plans)
      Returns an array of the ExpectedVariables objects of all given physical plans, in the order in which the plans are given.