Click or drag to resize

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.3
Syntax
public PagingPredicate(
	int pageSize,
	IPredicate predicate = null,
	IComparer<KeyValuePair<Object, Object>> comparer = null
)

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
ExceptionCondition
ArgumentOutOfRangeExceptionif page size is negative
ArgumentExceptionNested PagingPredicate is not supported
See Also