Package org.yamcs.yarch.streamsql
Class UpdateTableStatement
java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.UpdateTableStatement
- All Implemented Interfaces:
StreamSqlStatement
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionUpdateTableStatement
(String tableName, List<UpdateTableStatement.UpdateItem> updateList, Expression whereClause, long limit) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(ExecutionContext context, Consumer<Tuple> consumer) protected TupleDefinition
Methods inherited from class org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
execute, execute
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
-
UpdateTableStatement
public UpdateTableStatement(String tableName, List<UpdateTableStatement.UpdateItem> updateList, Expression whereClause, long limit)
-
-
Method Details
-
execute
protected void execute(ExecutionContext context, Consumer<Tuple> consumer) throws StreamSqlException - Specified by:
execute
in classSimpleStreamSqlStatement
- Throws:
StreamSqlException
-
getResultDefinition
- Overrides:
getResultDefinition
in classSimpleStreamSqlStatement
-