Class ScrollResponse.Builder<TDocument>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.core.SearchResponse.AbstractBuilder<TDocument,ScrollResponse.Builder<TDocument>>
co.elastic.clients.elasticsearch.core.ScrollResponse.Builder<TDocument>
- All Implemented Interfaces:
ObjectBuilder<ScrollResponse<TDocument>>
- Enclosing class:
- ScrollResponse<TDocument>
public static class ScrollResponse.Builder<TDocument> extends SearchResponse.AbstractBuilder<TDocument,ScrollResponse.Builder<TDocument>> implements ObjectBuilder<ScrollResponse<TDocument>>
Builder for
ScrollResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ScrollResponse<TDocument>
build()
Builds aScrollResponse
.protected ScrollResponse.Builder<TDocument>
self()
Methods inherited from class co.elastic.clients.elasticsearch.core.SearchResponse.AbstractBuilder
aggregations, aggregations, aggregations, clusters, clusters, fields, fields, hits, hits, maxScore, numReducePhases, pitId, profile, profile, scrollId, shards, shards, suggest, suggest, tDocumentSerializer, terminatedEarly, timedOut, took
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classSearchResponse.AbstractBuilder<TDocument,ScrollResponse.Builder<TDocument>>
-
build
Builds aScrollResponse
.- Specified by:
build
in interfaceObjectBuilder<TDocument>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-