From 989af7dcf73cbebaa700b24e39202c8aed5509ce Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 11 Jan 2024 14:16:20 +0100 Subject: [PATCH] Document Window as a query return type. Closes #3019 --- .../ROOT/pages/repositories/query-return-types-reference.adoc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc index 21d9932b2..60f6cc2f8 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-return-types-reference.adoc @@ -32,6 +32,7 @@ Some store modules may define their own result wrapper types. |`CompletableFuture`|A Java 8 `CompletableFuture`. Expects a method to be annotated with `@Async` and requires Spring's asynchronous method execution capability to be enabled. |`Slice`|A sized chunk of data with an indication of whether there is more data available. Requires a `Pageable` method parameter. |`Page`|A `Slice` with additional information, such as the total number of results. Requires a `Pageable` method parameter. +|`Window`|A `Window` of results obtained from a scroll query. Provides `ScrollPosition` to issue the next scroll query. Requires a `ScrollPosition` method parameter. |`GeoResult`|A result entry with additional information, such as the distance to a reference location. |`GeoResults`|A list of `GeoResult` with additional information, such as the average distance to a reference location. |`GeoPage`|A `Page` with `GeoResult`, such as the average distance to a reference location.