Class ScrollResponse.Builder<TDocument>
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.core.search.SearchResult.AbstractBuilder<TDocument,ScrollResponse.Builder<TDocument>>
org.opensearch.client.opensearch.core.ScrollResponse.Builder<TDocument>
- All Implemented Interfaces:
ObjectBuilder<ScrollResponse<TDocument>>
- Enclosing class:
ScrollResponse<TDocument>
public static class ScrollResponse.Builder<TDocument>
extends SearchResult.AbstractBuilder<TDocument,ScrollResponse.Builder<TDocument>>
implements ObjectBuilder<ScrollResponse<TDocument>>
Builder for
ScrollResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aScrollResponse.protected ScrollResponse.Builder<TDocument> self()Methods inherited from class org.opensearch.client.opensearch.core.search.SearchResult.AbstractBuilder
aggregations, aggregations, aggregations, clusters, clusters, documents, documents, fields, fields, hits, hits, maxScore, numReducePhases, phaseTook, phaseTook, pitId, profile, profile, scrollId, shards, shards, suggest, suggest, tDocumentSerializer, terminatedEarly, timedOut, tookMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classSearchResult.AbstractBuilder<TDocument,ScrollResponse.Builder<TDocument>>
-
build
Builds aScrollResponse.- Specified by:
buildin interfaceObjectBuilder<TDocument>- Throws:
NullPointerException- if some of the required fields are null.
-