Click or drag to resize

InvocableCacheHelperQuery Method (ICache, IFilter, InvocableCacheHelperQueryType, Boolean, IComparer)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Generic implementation of the get methods for the particular IFilter provided.

Namespace:  Tangosol.Net.Cache.Support
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static Object[] Query(
	ICache cache,
	IFilter filter,
	InvocableCacheHelperQueryType queryType,
	bool sort,
	IComparer comparer
)

Parameters

cache
Type: Tangosol.Net.CacheICache
The ICache to be queried.
filter
Type: Tangosol.UtilIFilter
The IFilter object representing the criteria that the entries of this cache should satisfy.
queryType
Type: Tangosol.Net.Cache.SupportInvocableCacheHelperQueryType
An enum value that defines whether return array should be values, keys or entries.
sort
Type: SystemBoolean
If true, sort the result-set before returning.
comparer
Type: System.CollectionsIComparer
The IComparer to use for sorting (optional).

Return Value

Type: Object
A collection of the keys/values for entries that satisfy the specified criteria.
See Also