CacheGetQueryServiceTKey, TResult Method (String) |
Get a query service object to be able to query the cache.
Use only when Cache has more than one Pool.
Namespace: GemStone.GemFire.Cache.GenericAssembly: Gemstone.Gemfire.Cache (in Gemstone.Gemfire.Cache.dll) Version: 9.0.6.18
Syntaxpublic QueryService<TKey, TResult> GetQueryService<TKey, TResult>(
string poolName
)
Public Function GetQueryService(Of TKey, TResult) (
poolName As String
) As QueryService(Of TKey, TResult)
public:
generic<typename TKey, typename TResult>
virtual QueryService<TKey, TResult>^ GetQueryService(
String^ poolName
) sealed
abstract GetQueryService :
poolName : string -> QueryService<'TKey, 'TResult>
override GetQueryService :
poolName : string -> QueryService<'TKey, 'TResult>
Parameters
- poolName
- Type: SystemString
Type Parameters
- TKey
- TResult
Return Value
Type:
QueryServiceTKey,
TResult
Remarks
Currently only works against the java server in native mode, and
at least some endpoints must have been defined in some regions
before actually firing a query.
See Also