Package org.openrdf.query.algebra.evaluation.iterator

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

Related Classes of org.openrdf.query.algebra.evaluation.iterator.LeftJoinIterator

Copyright © 2018 www.massapicom. 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.