Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Generic implementation of the get methods for the particular IFilter provided.

Namespace:  Tangosol.Net.Cache.Support
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static Object[] Query(
	ICache cache,
	IDictionary dictIndex,
	IFilter filter,
	InvocableCacheHelper..::.QueryType queryType,
	bool sort,
	IComparer comparer
)

Parameters

cache
Type: Tangosol.Net.Cache..::.ICache
The ICache to be queried.
dictIndex
Type: System.Collections..::.IDictionary
The IDictionary of indexes.
filter
Type: Tangosol.Util..::.IFilter
The IFilter object representing the criteria that the entries of this cache should satisfy.
queryType
Type: Tangosol.Net.Cache.Support..::.InvocableCacheHelper..::.QueryType
An enum value that defines whether return array should be values, keys or entries.
sort
Type: System..::.Boolean
If true, sort the result-set before returning.
comparer
Type: System.Collections..::.IComparer
The IComparer to use for sorting (optional).

Return Value

A collection of the keys/values for entries that satisfy the specified criteria.

See Also