| Return type | Description |
|
A java.util.List or any common Iterable type |
|
A Java 8 java.util.stream.Stream instance |
|
An optional value, if null is retrieved otherwise a EmptyResultException is thrown |
|
An instance of io.micronaut.data.model.Page for pagination. |
|
An instance of io.micronaut.data.model.Slice for pagination. |
|
A java.util.concurrent.Future for asynchronous execution |
|
An Reactive Streams compatible type |
|
In the case of projections primitive/basic types can be returned |