QueryTResultExecute Method |
Executes the OQL Query on the cache server and returns
the results. The default timeout for the query is 15 secs.
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic ISelectResults<TResult> Execute()
Public Function Execute As ISelectResults(Of TResult)
public:
ISelectResults<TResult>^ Execute()
member Execute : unit -> ISelectResults<'TResult>
Return Value
Type:
ISelectResultsTResult
An
ISelectResultsTResult object which can either be a
[!:ResultSet] or a
[!:StructSet].
ExceptionsException | Condition |
---|
[!: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