public class MergeStream extends AbstractStream implements StreamSubscriber, Runnable
log, name, outputDefinition, state, subscribers, ydb| Constructor and Description |
|---|
MergeStream(YarchDatabase ydb,
AbstractStream[] streams,
String mergeColumn,
boolean ascending) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
void |
onTuple(Stream s,
Tuple tuple) |
void |
run() |
void |
start()
Start emitting tuples.
|
void |
streamClosed(Stream s) |
addSubscriber, close, emitTuple, getColumnDefinition, getDefinition, getName, getNumEmittedTuples, getState, getSubscriberCount, getSubscribers, removeSubscriber, setName, toStringpublic MergeStream(YarchDatabase ydb, AbstractStream[] streams, String mergeColumn, boolean ascending) throws StreamSqlException
StreamSqlExceptionpublic void onTuple(Stream s, Tuple tuple)
onTuple in interface StreamSubscriberpublic void streamClosed(Stream s)
streamClosed in interface StreamSubscriberpublic void start()
Streamstart in interface Streamstart in class AbstractStreamprotected void doClose()
doClose in class AbstractStreamCopyright © 2017 Space Applications Services. All rights reserved.