Class ScrollResponse<TDocument>
- java.lang.Object
-
- org.opensearch.client.opensearch.core.search.SearchResult<TDocument>
-
- org.opensearch.client.opensearch.core.SearchResponse<TDocument>
-
- org.opensearch.client.opensearch.core.ScrollResponse<TDocument>
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class ScrollResponse<TDocument> extends SearchResponse<TDocument>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classScrollResponse.Builder<TDocument>Builder forScrollResponse.-
Nested classes/interfaces inherited from class org.opensearch.client.opensearch.core.search.SearchResult
SearchResult.AbstractBuilder<TDocument,BuilderT extends SearchResult.AbstractBuilder<TDocument,BuilderT>>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ScrollResponse<java.lang.Object>>_DESERIALIZERJson deserializer forScrollResponsebased on named deserializers provided by the callingJsonMapper.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <TDocument>
JsonpDeserializer<ScrollResponse<TDocument>>createScrollResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for ScrollResponsestatic <TDocument>
ScrollResponse<TDocument>of(java.util.function.Function<ScrollResponse.Builder<TDocument>,ObjectBuilder<ScrollResponse<TDocument>>> fn)protected static <TDocument>
voidsetupScrollResponseDeserializer(ObjectDeserializer<ScrollResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)-
Methods inherited from class org.opensearch.client.opensearch.core.SearchResponse
createSearchResponseDeserializer, searchResponseOf, setupSearchResponseDeserializer
-
Methods inherited from class org.opensearch.client.opensearch.core.search.SearchResult
aggregations, clusters, documents, fields, hits, maxScore, numReducePhases, pitId, profile, scrollId, serialize, serializeInternal, setupSearchResultDeserializer, shards, suggest, terminatedEarly, timedOut, took
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ScrollResponse<java.lang.Object>> _DESERIALIZER
Json deserializer forScrollResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Detail
-
of
public static <TDocument> ScrollResponse<TDocument> of(java.util.function.Function<ScrollResponse.Builder<TDocument>,ObjectBuilder<ScrollResponse<TDocument>>> fn)
-
createScrollResponseDeserializer
public static <TDocument> JsonpDeserializer<ScrollResponse<TDocument>> createScrollResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for ScrollResponse
-
setupScrollResponseDeserializer
protected static <TDocument> void setupScrollResponseDeserializer(ObjectDeserializer<ScrollResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-
-