Class ScrollRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.core.ScrollRequest
- All Implemented Interfaces:
JsonpSerializable
Allows to retrieve a large numbers of results from a single search request.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<ScrollRequest>
Json deserializer forScrollRequest
static final SimpleEndpoint<ScrollRequest,
?> Endpoint "scroll
". -
Method Summary
Modifier and TypeMethodDescriptionstatic <TDocument>
Endpoint<ScrollRequest,ScrollResponse<TDocument>, ErrorResponse> createScrollEndpoint
(JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "scroll
" endpoint.static ScrollRequest
final Time
scroll()
Period to retain the search context for scrolling.final String
scrollId()
Required - Scroll ID of the search.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forScrollRequest
-
_ENDPOINT
Endpoint "scroll
".
-
-
Method Details
-
of
-
scroll
Period to retain the search context for scrolling.API name:
scroll
-
scrollId
Required - Scroll ID of the search.API name:
scroll_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupScrollRequestDeserializer
-
createScrollEndpoint
public static <TDocument> Endpoint<ScrollRequest,ScrollResponse<TDocument>, createScrollEndpointErrorResponse> (JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "scroll
" endpoint.
-