Package org.yamcs.yarch
Class MergeStream
java.lang.Object
org.yamcs.yarch.Stream
org.yamcs.yarch.MergeStream
- All Implemented Interfaces:
Runnable,StreamSubscriber
-
Nested Class Summary
Nested classes/interfaces inherited from class org.yamcs.yarch.Stream
Stream.ExceptionHandler -
Field Summary
Fields inherited from class org.yamcs.yarch.Stream
log, name, outputDefinition, QUITTING, RUNNING, SETUP, state, subscribers, ydb -
Constructor Summary
ConstructorsConstructorDescriptionMergeStream(YarchDatabaseInstance ydb, Stream[] streams, String mergeColumn, boolean ascending) -
Method Summary
Methods inherited from class org.yamcs.yarch.Stream
addSubscriber, close, emitTuple, exceptionHandler, getColumnDefinition, getDataCount, getDefinition, getName, getState, getSubscriberCount, getSubscribers, isClosed, isRunning, quitting, removeSubscriber, setName, start, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.yamcs.yarch.StreamSubscriber
getDescription
-
Constructor Details
-
MergeStream
public MergeStream(YarchDatabaseInstance ydb, Stream[] streams, String mergeColumn, boolean ascending) throws StreamSqlException - Throws:
StreamSqlException
-
-
Method Details
-
onTuple
- Specified by:
onTuplein interfaceStreamSubscriber
-
streamClosed
- Specified by:
streamClosedin interfaceStreamSubscriber
-
doStart
public void doStart()Description copied from class:StreamStart emitting tuples. -
run
public void run() -
doClose
protected void doClose()
-