Class SynchronizedIntermediateResultElementSink
java.lang.Object
se.liu.ida.hefquin.engine.queryplan.executable.impl.SynchronizedIntermediateResultElementSink
- All Implemented Interfaces:
 ClosableIntermediateResultElementSink,IntermediateResultElementSink
public class SynchronizedIntermediateResultElementSink
extends Object
implements ClosableIntermediateResultElementSink
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes this sink.booleanisClosed()Returns true if this sink has been closed.voidsend(SolutionMapping element) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface se.liu.ida.hefquin.engine.queryplan.executable.IntermediateResultElementSink
send, send 
- 
Field Details
- 
currentElement
 - 
closed
protected boolean closed 
 - 
 - 
Constructor Details
- 
SynchronizedIntermediateResultElementSink
public SynchronizedIntermediateResultElementSink() 
 - 
 - 
Method Details
- 
send
- Specified by:
 sendin interfaceIntermediateResultElementSink
 - 
close
public void close()Description copied from interface:ClosableIntermediateResultElementSinkCloses this sink. Further calls ofwill be ignored. If this sink has been closed before, calling this method again has no effect.invalid reference
#send(Object)- Specified by:
 closein interfaceClosableIntermediateResultElementSink
 - 
isClosed
public boolean isClosed()Description copied from interface:ClosableIntermediateResultElementSinkReturns true if this sink has been closed.- Specified by:
 isClosedin interfaceClosableIntermediateResultElementSink
 - 
getNextElement
 
 -