Class DeleteStatement

java.lang.Object
org.yamcs.yarch.streamsql.SimpleStreamSqlStatement
org.yamcs.yarch.streamsql.DeleteStatement
All Implemented Interfaces:
StreamSqlStatement

public class DeleteStatement extends SimpleStreamSqlStatement
Execute a statement:
 delete from <table> where <cond> limit n
 
The query returns a tuple containing the number of inspected and deleted rows.

Note that rocksdb does not remove the data from the disk immediately. The freeing of the space will only happen when a compact operation will be executed on the files which have removed data inside. See Rocksdb Compaction for details.