Examples of LeftJoinIterator


Examples of org.openrdf.query.algebra.evaluation.iterator.LeftJoinIterator

    problemVars.retainAll(optionalVars);
    problemVars.removeAll(leftVars);

    if (problemVars.isEmpty()) {
      // left join is "well designed"
      return new LeftJoinIterator(this, leftJoin, bindings);
    }
    else {
      QueryBindingSet filteredBindings = new QueryBindingSet(bindings);
      filteredBindings.removeAll(problemVars);
      CloseableIteration<BindingSet, QueryEvaluationException> iter;

      iter = new LeftJoinIterator(this, leftJoin, filteredBindings);
      iter = new CompatibleBindingSetFilter(iter, bindings);

      return iter;
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.