Package org.yamcs.yarch.streamsql
Class LimitedStream
java.lang.Object
org.yamcs.yarch.Stream
org.yamcs.yarch.streamsql.LimitedStream
- All Implemented Interfaces:
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
ModifierConstructorDescriptionprotected
LimitedStream
(YarchDatabaseInstance ydb, Stream input, BigDecimal offset, BigDecimal limit, TupleDefinition definition) -
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, toString
-
Constructor Details
-
LimitedStream
protected LimitedStream(YarchDatabaseInstance ydb, Stream input, BigDecimal offset, BigDecimal limit, TupleDefinition definition)
-
-
Method Details
-
doStart
public void doStart()Description copied from class:Stream
Start emitting tuples. -
onTuple
- Specified by:
onTuple
in interfaceStreamSubscriber
-
streamClosed
- Specified by:
streamClosed
in interfaceStreamSubscriber
-
doClose
protected void doClose()
-