Class to encapsulate a continuous query (CQ).

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

Syntax

C#
public sealed class CqQuery<TKey, TResult> : [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::CqQuery>]
Visual Basic (Declaration)
Public NotInheritable Class CqQuery(Of TKey, TResult) _
	Inherits [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::CqQuery>]
Visual C++
generic<typename TKey, typename TResult>
public ref class CqQuery sealed : public [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::CqQuery>]

Type Parameters

TKey
TResult

Remarks

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.

Inheritance Hierarchy

System..::Object
  [T:GemStone.GemFire.Cache.Generic.Internal.SBWrap<gemfire::CqQuery>]
    GemStone.GemFire.Cache.Generic..::CqQuery<(Of <TKey, TResult>)>

See Also