Class ExpectedVariablesUtils
java.lang.Object
se.liu.ida.hefquin.base.query.utils.ExpectedVariablesUtils
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ExpectedVariables[]getExpectedVariables(List<SPARQLGraphPattern> patterns) Returns an array of theExpectedVariablesobjects of all graph patterns in the given list, in the order in which the patterns are listed.static Set<org.apache.jena.sparql.core.Var> Returns an intersection of the sets of all variables (certain and possible) in all the givenExpectedVariablesobjects.static Set<org.apache.jena.sparql.core.Var> Returns an intersection of the sets of certain variables in all the givenExpectedVariablesobjects.static Set<org.apache.jena.sparql.core.Var> Returns an intersection of the sets of possible variables in all the givenExpectedVariablesobjects.static Set<org.apache.jena.sparql.core.Var> Returns a set of all the variables (certain and possible) in all the givenExpectedVariablesobjects.static Set<org.apache.jena.sparql.core.Var> Returns a set of all the certain variables in all the givenExpectedVariablesobjects.static Set<org.apache.jena.sparql.core.Var> Returns a set of all the possible variables in all the givenExpectedVariablesobjects. 
- 
Constructor Details
- 
ExpectedVariablesUtils
public ExpectedVariablesUtils() 
 - 
 - 
Method Details
- 
unionOfCertainVariables
Returns a set of all the certain variables in all the givenExpectedVariablesobjects. Returns null if no such object is given. - 
unionOfPossibleVariables
Returns a set of all the possible variables in all the givenExpectedVariablesobjects. Returns null if no such object is given. - 
unionOfAllVariables
Returns a set of all the variables (certain and possible) in all the givenExpectedVariablesobjects. Returns null if no such object 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 givenExpectedVariablesobjects. Returns null if no such object 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 givenExpectedVariablesobjects. Returns null if no such object 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 givenExpectedVariablesobjects. Returns null if no such object is given. - 
getExpectedVariables
Returns an array of theExpectedVariablesobjects of all graph patterns in the given list, in the order in which the patterns are listed. 
 -