QueryExecute Method (UInt32) |
Executes the OQL Query on the cache server with the specified
timeout and returns the results.
Namespace: GemStone.GemFire.CacheAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic ISelectResults Execute(
uint timeout
)
Public Function Execute (
timeout As UInteger
) As ISelectResults
public:
ISelectResults^ Execute(
unsigned int timeout
)
member Execute :
timeout : uint32 -> ISelectResults
Parameters
- timeout
- Type: SystemUInt32
The time (in seconds) to wait for query response.
This should be less than or equal to 2^31/1000 i.e. 2147483.
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