Package org.yamcs.yarch.streamsql
Class CreateStreamStatement
java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.CreateStreamStatement
- All Implemented Interfaces:
StreamSqlStatement
-
Constructor Summary
ConstructorDescriptionCreateStreamStatement
(String streamName, org.yamcs.yarch.streamsql.StreamExpression expression) CreateStreamStatement
(String name, TupleDefinition tupleDefinition) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(ExecutionContext context, Consumer<Tuple> consumer) Methods inherited from class org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
execute, execute, getResultDefinition
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.yamcs.yarch.streamsql.StreamSqlStatement
execute
-
Constructor Details
-
CreateStreamStatement
public CreateStreamStatement(String streamName, org.yamcs.yarch.streamsql.StreamExpression expression) -
CreateStreamStatement
-
-
Method Details
-
execute
protected void execute(ExecutionContext context, Consumer<Tuple> consumer) throws StreamSqlException - Specified by:
execute
in classSimpleStreamSqlStatement
- Throws:
StreamSqlException
-