Package org.openrdf.query.algebra.evaluation.cursors

Examples of org.openrdf.query.algebra.evaluation.cursors.DelayedEvaluationCursor


  {
    int size = union.getNumberOfArguments();
    Cursor<BindingSet>[] iters = new Cursor[size];
    for (int i = 0; i < size; i++) {
      final TupleExpr arg = union.getArg(i);
      iters[i] = new DelayedEvaluationCursor(this, arg, bindings);
    }

    return new UnionCursor<BindingSet>(iters);
  }
View Full Code Here


  }

  public Cursor<BindingSet> evaluate(final Intersection intersection, final BindingSet bindings)
    throws StoreException
  {
    Cursor<BindingSet> leftArg = new DelayedEvaluationCursor(this, intersection.getLeftArg(), bindings);
    Cursor<BindingSet> rightArg = new DelayedEvaluationCursor(this, intersection.getRightArg(), bindings);
    return new IntersectCursor<BindingSet>(leftArg, rightArg);
  }
View Full Code Here

  }

  public Cursor<BindingSet> evaluate(final Difference difference, final BindingSet bindings)
    throws StoreException
  {
    Cursor<BindingSet> leftArg = new DelayedEvaluationCursor(this, difference.getLeftArg(), bindings);
    Cursor<BindingSet> rightArg = new DelayedEvaluationCursor(this, difference.getRightArg(), bindings);
    return new MinusCursor<BindingSet>(leftArg, rightArg);
  }
View Full Code Here

TOP

Related Classes of org.openrdf.query.algebra.evaluation.cursors.DelayedEvaluationCursor

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.