Java Code Examples for org.eclipse.rdf4j.query.algebra.evaluation.QueryBindingSet#removeAll()

The following examples show how to use org.eclipse.rdf4j.query.algebra.evaluation.QueryBindingSet#removeAll() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: BadlyDesignedLeftJoinIterator.java    From rdf4j with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
private static QueryBindingSet getFilteredBindings(BindingSet bindings, Set<String> problemVars) {
	QueryBindingSet filteredBindings = new QueryBindingSet(bindings);
	filteredBindings.removeAll(problemVars);
	return filteredBindings;
}
 
Example 2
Source File: HalyardTupleExprEvaluation.java    From Halyard with Apache License 2.0 4 votes vote down vote up
private static QueryBindingSet getFilteredBindings(BindingSet bindings, Set<String> problemVars) {
        QueryBindingSet filteredBindings = new QueryBindingSet(bindings);
        filteredBindings.removeAll(problemVars);
        return filteredBindings;
}