Implement timeseries cleanup

Closes #1940
This commit is contained in:
emanuele-f 2018-09-11 17:16:56 +02:00
parent 433cbb3142
commit ffe2c629bc
7 changed files with 117 additions and 46 deletions

View file

@ -63,6 +63,14 @@ end
function driver:getLatestTimestamp(ifid)
end
--! @brief Delete timeseries data
--! @param schema_prefix a prefix for the schemas.
--! @param tags a list of filter tags. When a given scheam tag is not specified, it will be considered wildcard.
--! @return true if operation was successful, false otherwise.
--! @note E.g. "iface" schema_prefix matches any schema starting with "iface:". Empty prefix is allowed and matches all the schemas.
function driver:delete(schema_prefix, tags)
end
-- ##############################################
return driver