CqQuery ClassPivotal GemFire .NET Client Documentation
Class to encapsulate a continuous query (CQ).
Inheritance Hierarchy

System Object
    GemStone.GemFire.Cache CqQuery

Namespace: GemStone.GemFire.Cache
Assembly: GemStone.GemFire.Cache (in GemStone.GemFire.Cache.dll) Version:

[ObsoleteAttribute("Use classes and APIs from the GemStone.GemFire.Cache.Generic namespace")]
public sealed class CqQuery : [T:GemStone.GemFire.Cache.Internal.SBWrap<gemfire::CqQuery>]

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.
See Also