Class to encapsulate a continuous query (CQ).Namespace: GemStone.GemFire.Cache.Generic
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll)
public sealed class CqQuery<TKey, TResult> :
|Visual Basic (Declaration)|
Public NotInheritable Class CqQuery(Of TKey, TResult) _ Inherits
generic<typename TKey, typename TResult> public ref class CqQuery sealed : public
A CqQuery is obtained from a QueryService which in turn is obtained from the Cache. This can be executed to return SelectResults which can be either a ResultSet or a StructSet, or it can be just registered on the java server without returning results immediately rather only the incremental results. This class is intentionally not thread-safe. So multiple threads should not operate on the same CqQuery object concurrently rather should have their own CqQuery objects.