![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | IMapTKey, TValueKeySet Method (IPredicate) |
Queries the map based on the specified predicate and
returns the keys of matching entries.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
SyntaxISet<TKey> KeySet(
IPredicate predicate
)
Function KeySet (
predicate As IPredicate
) As ISet(Of TKey)
ISet<TKey>^ KeySet(
IPredicate^ predicate
)
abstract KeySet :
predicate : IPredicate -> ISet<'TKey>
Parameters
- predicate
- Type: Hazelcast.CoreIPredicate
query criteria
Return Value
Type:
ISetTKeyresult key
ISetT of the query
Remarks
Queries the map based on the specified predicate and
returns the keys of matching entries.
Specified predicate runs on all members in parallel.
Warning:
The set is
NOT backed by the map,
so changes to the map are
NOT reflected in the set, and vice-versa.
See Also