Class MaterializingIntermediateResultElementSink

java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.MaterializingIntermediateResultElementSink
All Implemented Interfaces:
IntermediateResultElementSink

public class MaterializingIntermediateResultElementSink extends Object implements IntermediateResultElementSink
An implementation of IntermediateResultElementSink that materializes all solution mappings that are sent to it directly into an IntermediateResultBlock. This block can then be obtained by calling getMaterializedResultBlock(). If more solution mappings are sent to this sink after the block has been requested, a new block will be started, which can then be obtained by calling getMaterializedResultBlock() again. Attention, this implementation is not thread safe.