Executes the OQL Parameterized Query on the cache server with the specified paramList and returns the results. The default timeout for the query is 15 secs.

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

Syntax

C#
public ISelectResults Execute(
	IGFSerializable[] paramList
)
Visual Basic (Declaration)
Public Function Execute ( _
	paramList As IGFSerializable() _
) As ISelectResults
Visual C++
public:
ISelectResults^ Execute (
	array<IGFSerializable^>^ paramList
)

Parameters

paramList
array<IGFSerializable>[]()
The Parameter List for the specified Query.

Return Value

An ISelectResults object which can either be a StructSet or a StructSet.

Exceptions

ExceptionCondition
GemStone.GemFire.Cache..::IllegalArgumentException if timeout parameter is greater than 2^31/1000.
GemStone.GemFire.Cache..::QueryException if some query error occurred at the server.
GemStone.GemFire.Cache..::IllegalStateException if some other error occurred.
GemStone.GemFire.Cache..::NotConnectedException if no java cache server is available For pools configured with locators, if no locators are available, innerException of NotConnectedException is set to NoAvailableLocatorsException.

See Also