These functions can be used with the Command Operator.
AddQuery
Allows to send a new query to the system.
- String: QueryText
- String: Parser
Code Block |
---|
addQuery("data = ACCESS(...)", "PQL") |
FullQuery
A query can have different Query States. This function set the query with the given ID or name to full mode.
- fullQuery(queryID)
- fullQueryByName(queryName)
PartialQuery
A query can have different Query States. This function set the query with the given ID or name to partial mode.
- partialQuery(queryID)
- fullQueryByName(queryName)
RemoveQuery
Remove query with the given query id or name.
- removeQuery(queryID)
- removeQueryByName(queryName)
ResumeQuery
A query can have different Query States. This function set the query with the given ID or name to resume mode.
- resumeQuery(queryID)
- resumeQueryByName(queryName)
SetPeriod
Update the period (e.g. in a timer source).
Code Block |
---|
setPeriod("MyTimer.transport",1000.0)) |
StartQuery
Start query with the given query id or name.
- startQuery(queryID)
- startQueryByName(queryName)
StopQuery
Stop query with the given query id or name.
- stopQuery(queryID)
- stopQueryByName(queryName)
SuspendQuery
A query can have different Query States. This function set the query with the given ID or name to suspend mode.
- suspendQuery(queryID)
- suspendQueryByName(queryName)
...