Class ExecOpBindJoinBRTPF

All Implemented Interfaces:
StatsProvider, ExecutableOperator, UnaryExecutableOp

public class ExecOpBindJoinBRTPF extends BaseForExecOpBindJoinWithRequestOps<TriplePattern,BRTPFServer>
Implementation of (a batching version of) the bind join algorithm for cases in which the federation member accessed by the algorithm supports the brTPF interface. For every batch of solution mappings from the input, the algorithm of this operator sends a brTPF request to the federation member; this request consists of the given triple pattern and the solutions of the current input batch (in fact, the algorithm may also decide to split the input batch into smaller batches for multiple requests). The response to such a request are all triples that i) match the triple pattern and ii) are compatible with at least one of the solutions that were attached to the request. After receiving such a response, the algorithm creates solution mappings from the received triples, joins these solution mappings locally with the solutions in the batch used for making the request, and then outputs the resulting joined solutions (if any). Thereafter, the algorithm moves on to the next batch of solutions from the input.