T
- public interface Limit<T> extends Executor<T>
Modifier and Type | Method and Description |
---|---|
Executor<T> |
limit(int size)
Limits the result to the given size
|
Executor<T> |
limit(int from,
int size)
Limits the result to the given from position and size
|
Executor<T> limit(int size)
Example:
import workflow.business.data.Dossier;
List<Dossier> result = ivy.repo.search(Dossier.class)
.limit(100)
.execute()
.getAll();
If you do not specify a limit then the maximum number of results is 10.
size
- Limit.limit(int, int)
Executor<T> limit(int from, int size)
Example:
import workflow.business.data.Dossier;
List<Dossier> result = ivy.repo.search(Dossier.class)
.limit(900, 100)
.execute()
.getAll();
If you do not use a limit method then the maximum number of results that are returned is 10.
from
- size
- Limit.limit(int)
Copyright © 2024
AXON IVY AG
All Rights Reserved Documentation was generated
on April 28, 2024