![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | PagingPredicate Constructor (Int32, IPredicate, IComparerKeyValuePairObject, Object) |
Creates a Paging predicate with provided page size and optional predicate and comparer.
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic PagingPredicate(
int pageSize,
IPredicate predicate = null,
IComparer<KeyValuePair<Object, Object>> comparer = null
)
Public Sub New (
pageSize As Integer,
Optional predicate As IPredicate = Nothing,
Optional comparer As IComparer(Of KeyValuePair(Of Object, Object)) = Nothing
)
public:
PagingPredicate(
int pageSize,
IPredicate^ predicate = nullptr,
IComparer<KeyValuePair<Object^, Object^>>^ comparer = nullptr
)
new :
pageSize : int *
?predicate : IPredicate *
?comparer : IComparer<KeyValuePair<Object, Object>>
(* Defaults:
let _predicate = defaultArg predicate null
let _comparer = defaultArg comparer null
*)
-> PagingPredicate
Parameters
- pageSize
- Type: SystemInt32
page size of each result set - predicate (Optional)
- Type: Hazelcast.CoreIPredicate
Optional predicate to filter of the results. if null, no filtering applied - comparer (Optional)
- Type: System.Collections.GenericIComparerKeyValuePairObject, Object
Optional IComparer implementation used to sort the results. see warning at Comparer
Exceptions
See Also