Package org.yamcs.yarch.streamsql
Class InsertStatement
java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.InsertStatement
- All Implemented Interfaces:
StreamSqlStatement
-
Constructor Summary
ConstructorsConstructorDescriptionInsertStatement(String name, org.yamcs.yarch.streamsql.StreamExpression expression, TableWriter.InsertMode mode) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(ExecutionContext context, Consumer<Tuple> consumer) protected TupleDefinitionMethods inherited from class org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
execute, executeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.yamcs.yarch.streamsql.StreamSqlStatement
execute
-
Constructor Details
-
InsertStatement
public InsertStatement(String name, org.yamcs.yarch.streamsql.StreamExpression expression, TableWriter.InsertMode mode)
-
-
Method Details
-
execute
protected void execute(ExecutionContext context, Consumer<Tuple> consumer) throws StreamSqlException - Specified by:
executein classSimpleStreamSqlStatement- Throws:
StreamSqlException
-
getResultDefinition
- Overrides:
getResultDefinitionin classSimpleStreamSqlStatement
-