public class HistogramReaderStream extends AbstractStream implements Runnable, DbReaderStream
TupleSourceExpression.bind(org.yamcs.yarch.streamsql.ExecutionContext)log, name, outputDefinition, state, subscribers, ydb| Constructor and Description |
|---|
HistogramReaderStream(YarchDatabaseInstance ydb,
TableDefinition tblDef,
String histoColumnName,
TupleDefinition tupleDef) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addInFilter(ColumnExpression cexpr,
Set<Object> values)
could filter on the histoColumn values, not done for the moment
|
boolean |
addRelOpFilter(ColumnExpression cexpr,
RelOp relOp,
Object value) |
void |
doClose() |
void |
run() |
void |
setMergeTime(long mergeTime) |
void |
start()
Start emitting tuples.
|
addSubscriber, close, emitTuple, getColumnDefinition, getDefinition, getName, getNumEmittedTuples, getState, getSubscriberCount, getSubscribers, removeSubscriber, setName, toStringpublic HistogramReaderStream(YarchDatabaseInstance ydb, TableDefinition tblDef, String histoColumnName, TupleDefinition tupleDef) throws YarchException
YarchExceptionpublic void start()
Streamstart in interface Streamstart in class AbstractStreampublic boolean addRelOpFilter(ColumnExpression cexpr, RelOp relOp, Object value) throws StreamSqlException
addRelOpFilter in interface DbReaderStreamStreamSqlExceptionpublic boolean addInFilter(ColumnExpression cexpr, Set<Object> values)
addInFilter in interface DbReaderStreampublic void setMergeTime(long mergeTime)
public void doClose()
doClose in class AbstractStreamCopyright © 2018 Space Applications Services. All rights reserved.