Class JpaIteratorSource<R,T>
java.lang.Object
org.duracloud.common.collection.jpa.JpaIteratorSource<R,T>
- Type Parameters:
R-T-
- All Implemented Interfaces:
IteratorSource<T>
- Author:
- Daniel Bernstein Date: Sep 3, 2014
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetNext()protected abstract org.springframework.data.domain.Page<T>getNextPage(org.springframework.data.domain.Pageable pageable, R repo) Specific Jpa call goes here.voidsetMaxResults(int maxResults)
-
Constructor Details
-
JpaIteratorSource
-
JpaIteratorSource
-
-
Method Details
-
getNext
- Specified by:
getNextin interfaceIteratorSource<R>
-
getNextPage
protected abstract org.springframework.data.domain.Page<T> getNextPage(org.springframework.data.domain.Pageable pageable, R repo) Specific Jpa call goes here.- Parameters:
pageable-- Returns:
-
getMaxResults
public int getMaxResults() -
setMaxResults
public void setMaxResults(int maxResults)
-