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,PlainJsonSerializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch.core.search.SearchResult
SearchResult.AbstractBuilder<TDocument,BuilderT extends SearchResult.AbstractBuilder<TDocument, BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ScrollResponse<Object>> Json deserializer forScrollResponsebased on named deserializers provided by the callingJsonMapper. -
Method Summary
Modifier and TypeMethodDescriptionstatic <TDocument>
JsonpDeserializer<ScrollResponse<TDocument>> createScrollResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer) Create a JSON deserializer for ScrollResponsestatic <TDocument>
ScrollResponse<TDocument> of(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, setupSearchResponseDeserializerMethods inherited from class org.opensearch.client.opensearch.core.search.SearchResult
aggregations, clusters, documents, fields, hits, maxScore, numReducePhases, phaseTook, pitId, profile, scrollId, serialize, serializeInternal, setupSearchResultDeserializer, shards, suggest, terminatedEarly, timedOut, tookMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Field Details
-
_DESERIALIZER
Json deserializer forScrollResponsebased on named deserializers provided by the callingJsonMapper.
-
-
Method Details
-
of
public static <TDocument> ScrollResponse<TDocument> of(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)
-