R
- T
- public abstract class JpaIteratorSource<R,T> extends Object implements IteratorSource<T>
Constructor and Description |
---|
JpaIteratorSource(R repo) |
JpaIteratorSource(R repo,
int maxResults) |
Modifier and Type | Method and Description |
---|---|
int |
getMaxResults() |
Collection<T> |
getNext() |
protected abstract org.springframework.data.domain.Page<T> |
getNextPage(org.springframework.data.domain.Pageable pageable,
R repo)
Specific Jpa call goes here.
|
void |
setMaxResults(int maxResults) |
public JpaIteratorSource(R repo, int maxResults)
public JpaIteratorSource(R repo)
public Collection<T> getNext()
getNext
in interface IteratorSource<T>
protected abstract org.springframework.data.domain.Page<T> getNextPage(org.springframework.data.domain.Pageable pageable, R repo)
pageable
- public int getMaxResults()
public void setMaxResults(int maxResults)
Copyright © 2009–2014 DuraSpace. All rights reserved.