| PagingPredicateGetNearestAnchorEntry Method |
After each query, an anchor entry is set for that page.
SetAnchor``2(Int32, UMP, UMP)
For the next query user may set an arbitrary
Page.
for example: user queried first 5 pages which means first 5 anchor is available
if the next query is for the 10th page then the nearest anchor belongs to page 5
but if the next query is for the 3nd page then the nearest anchor belongs to page 2
Namespace:
Hazelcast.Core
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax public KeyValuePair<int, KeyValuePair<Object, Object>> GetNearestAnchorEntry()
Public Function GetNearestAnchorEntry As KeyValuePair(Of Integer, KeyValuePair(Of Object, Object))
public:
KeyValuePair<int, KeyValuePair<Object^, Object^>> GetNearestAnchorEntry()
member GetNearestAnchorEntry : unit -> KeyValuePair<int, KeyValuePair<Object, Object>>
Return Value
Type:
KeyValuePairInt32,
KeyValuePairObject,
Objectnearest anchored entry for current page
See Also