Class CrossProductIteration

All Implemented Interfaces:
AutoCloseable, CloseableIteration<BindingSet,​QueryEvaluationException>, Iteration<BindingSet,​QueryEvaluationException>
Direct Known Subclasses:
ServiceCrossProductIteration

public class CrossProductIteration extends LookAheadIteration<BindingSet,​QueryEvaluationException>
Iteration which forms the cross product of a list of materialized input bindings with each result obtained from the inner iteration. Example: inputBindings := {b1, b2, ...} resultIteration := {r1, r2, ...} getNextElement() returns (r1,b1), (r1, b2), ..., (r2, b1), (r2, b2), ... i.e. compute the cross product per result binding
Author:
Andreas Schwarte