You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/repositories-paging-sorting.adoc
+4-4
Original file line number
Diff line number
Diff line change
@@ -64,23 +64,23 @@ By default, this query is derived from the query you actually trigger.
64
64
[IMPORTANT]
65
65
====
66
66
Special parameters may only be used once within a query method. +
67
-
Some of the special parameters described above are mutually exclusive.
67
+
Some special parameters described above are mutually exclusive.
68
68
Please consider the following list of invalid parameter combinations.
69
69
70
70
|===
71
71
| Parameters | Example | Reason
72
72
73
-
| `Pageable` & `Sort`
73
+
| `Pageable` and `Sort`
74
74
| `findBy...(Pageable page, Sort sort)`
75
75
| `Pageable` already defines `Sort`
76
76
77
-
| `Pageable` & `Limit`
77
+
| `Pageable` and `Limit`
78
78
| `findBy...(Pageable page, Limit limit)`
79
79
| `Pageable` already defines a limit.
80
80
81
81
|===
82
82
83
-
The `Top` keyword used to limit results can be used to along with `Pageable` whereas `Top` defines the total maximum of results, whereas the Pageable parameter may reduce this this number.
83
+
The `Top` keyword used to limit results can be used to along with `Pageable` whereas `Top` defines the total maximum of results, whereas the Pageable parameter may reduce this number.
Copy file name to clipboardExpand all lines: src/main/asciidoc/repository-query-return-types-reference.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ Some store modules may define their own result wrapper types.
25
25
|`Optional<T>`|A Java 8 or Guava `Optional`. Expects the query method to return one result at most. If no result is found, `Optional.empty()` or `Optional.absent()` is returned. More than one result triggers an `IncorrectResultSizeDataAccessException`.
26
26
|`Option<T>`|Either a Scala or Vavr `Option` type. Semantically the same behavior as Java 8's `Optional`, described earlier.
27
27
|`Stream<T>`|A Java 8 `Stream`.
28
-
|`Streamable<T>`|A convenience extension of `Iterable` that directy exposes methods to stream, map and filter results, concatenate them etc.
28
+
|`Streamable<T>`|A convenience extension of `Iterable` that directly exposes methods to stream, map and filter results, concatenate them etc.
29
29
|Types that implement `Streamable` and take a `Streamable` constructor or factory method argument|Types that expose a constructor or `….of(…)`/`….valueOf(…)` factory method taking a `Streamable` as argument. See <<repositories.collections-and-iterables.streamable-wrapper>> for details.
30
30
|Vavr `Seq`, `List`, `Map`, `Set`|Vavr collection types. See <<repositories.collections-and-iterables.vavr>> for details.
31
31
|`Future<T>`|A `Future`. Expects a method to be annotated with `@Async` and requires Spring's asynchronous method execution capability to be enabled.
0 commit comments