public class DatastorePageable
extends org.springframework.data.domain.PageRequest
Modifier and Type | Method and Description |
---|---|
static org.springframework.data.domain.Pageable |
from(org.springframework.data.domain.Pageable pageable,
Cursor cursor,
Long totalCount) |
static org.springframework.data.domain.Pageable |
from(org.springframework.data.domain.Pageable pageable,
String urlSafeCursor,
Long totalCount) |
Long |
getTotalCount() |
String |
getUrlSafeCursor() |
org.springframework.data.domain.Pageable |
next() |
Cursor |
toCursor() |
equals, first, getSort, hashCode, of, of, of, previous, toString
getOffset, getPageNumber, getPageSize, hasPrevious, previousOrFirst
public static org.springframework.data.domain.Pageable from(org.springframework.data.domain.Pageable pageable, Cursor cursor, Long totalCount)
public static org.springframework.data.domain.Pageable from(org.springframework.data.domain.Pageable pageable, String urlSafeCursor, Long totalCount)
public String getUrlSafeCursor()
public org.springframework.data.domain.Pageable next()
next
in interface org.springframework.data.domain.Pageable
next
in class org.springframework.data.domain.PageRequest
public Cursor toCursor()
public Long getTotalCount()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.