QueryExecute Method (IGFSerializable) |
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.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic ISelectResults Execute(
IGFSerializable[] paramList
)
Public Function Execute (
paramList As IGFSerializable()
) As ISelectResults
public:
ISelectResults^ Execute(
array<IGFSerializable^>^ paramList
)
member Execute :
paramList : IGFSerializable[] -> ISelectResults
Parameters
- paramList
- Type: GemStone.GemFire.CacheIGFSerializable
The Parameter List for the specified Query.
Return Value
Type:
ISelectResults
An
ISelectResults object which can either be a
[!:ResultSet] or a
[!:StructSet].
ExceptionsException | Condition |
---|
IllegalArgumentException |
if timeout parameter is greater than 2^31/1000.
|
QueryException |
if some query error occurred at the server.
|
IllegalStateException |
if some other error occurred.
|
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