public class PagingSpec extends Object
| Constructor and Description | 
|---|
PagingSpec(Map<String,Integer> pagingIdentifiers,
          int threshold)  | 
PagingSpec(Map<String,Integer> pagingIdentifiers,
          int threshold,
          Boolean fromNext)  | 
PagingSpec(Map<String,Integer> pagingIdentifiers,
          int threshold,
          Boolean fromNext,
          SelectQueryConfig config)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
byte[] | 
getCacheKey()  | 
PagingOffset | 
getOffset(String identifier,
         boolean descending)  | 
Map<String,Integer> | 
getPagingIdentifiers()  | 
int | 
getThreshold()  | 
int | 
hashCode()  | 
boolean | 
isFromNext()  | 
static Map<String,Integer> | 
merge(Iterable<Map<String,Integer>> cursors)  | 
static PagingSpec | 
newSpec(int threshold)  | 
static Map<String,Integer> | 
next(Map<String,Integer> cursor,
    boolean descending)  | 
String | 
toString()  | 
public PagingSpec(Map<String,Integer> pagingIdentifiers, int threshold, Boolean fromNext, SelectQueryConfig config)
public static PagingSpec newSpec(int threshold)
public int getThreshold()
public boolean isFromNext()
public byte[] getCacheKey()
public PagingOffset getOffset(String identifier, boolean descending)
Copyright © 2011–2018. All rights reserved.