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 ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ScrollRequest>Json deserializer forScrollRequeststatic 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 ScrollRequestfinal Timescroll()Period to retain the search context for scrolling.final StringscrollId()Required - Scroll ID of the search.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupScrollRequestDeserializer
-
createScrollEndpoint
public static <TDocument> Endpoint<ScrollRequest,ScrollResponse<TDocument>, createScrollEndpointErrorResponse> (JsonpDeserializer<TDocument> tDocumentDeserializer) Create an "scroll" endpoint.
-