Click or drag to resize

QdbClusterContinuousQuery Method

Run the provided query at repeated interval and sends a table directory with the results into the callback.

Namespace:  Quasardb
Assembly:  Quasardb (in Quasardb.dll) Version: 3.15.0.0 (3.15.0.0)
Syntax
public QdbContinuousQuery ContinuousQuery(
	string query,
	QdbContinuousQueryMode mode,
	int refresh_rate_ms,
	Func<QdbQueryResult, int> callback
)

Parameters

query
Type: SystemString
The string representing the query to perform.
mode
Type: Quasardb.QueryQdbContinuousQueryMode
The continuous query mode, one of (Full, NewValuesOnly).
refresh_rate_ms
Type: SystemInt32
The resfresh rate of the query, in milliseconds.
callback
Type: SystemFuncQdbQueryResult, Int32
Your callback function, it will be invoked with the result from the query.

Return Value

Type: QdbContinuousQuery
A QdbContinuousQuery holding the results of the query.
Remarks
Queries are transactional. The complexity of this function is dependent on the complexity of the query.
See Also