Class AsyncSearchStatusResponse<TDocument>
java.lang.Object
co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
co.elastic.clients.elasticsearch.async_search.AsyncSearchStatusResponse<TDocument>
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class AsyncSearchStatusResponse<TDocument> extends AsyncSearchResponseBase
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AsyncSearchStatusResponse.Builder<TDocument>
Builder forAsyncSearchStatusResponse
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
AsyncSearchResponseBase.AbstractBuilder<BuilderT extends AsyncSearchResponseBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<AsyncSearchStatusResponse<java.lang.Object>>
_DESERIALIZER
Json deserializer forAsyncSearchStatusResponse
based on named deserializers provided by the callingJsonMapper
. -
Method Summary
Modifier and Type Method Description int
completionStatus()
Required - API name:completion_status
static <TDocument>
JsonpDeserializer<AsyncSearchStatusResponse<TDocument>>createAsyncSearchStatusResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)
Create a JSON deserializer for AsyncSearchStatusResponsestatic <TDocument>
AsyncSearchStatusResponse<TDocument>of(java.util.function.Function<AsyncSearchStatusResponse.Builder<TDocument>,ObjectBuilder<AsyncSearchStatusResponse<TDocument>>> fn)
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static <TDocument>
voidsetupAsyncSearchStatusResponseDeserializer(ObjectDeserializer<AsyncSearchStatusResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
ShardStatistics
shards()
Required - API name:_shards
Methods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
expirationTimeInMillis, id, isPartial, isRunning, serialize, setupAsyncSearchResponseBaseDeserializer, startTimeInMillis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAsyncSearchStatusResponse
based on named deserializers provided by the callingJsonMapper
.
-
-
Method Details
-
of
public static <TDocument> AsyncSearchStatusResponse<TDocument> of(java.util.function.Function<AsyncSearchStatusResponse.Builder<TDocument>,ObjectBuilder<AsyncSearchStatusResponse<TDocument>>> fn) -
shards
Required - API name:_shards
-
completionStatus
public final int completionStatus()Required - API name:completion_status
-
serializeInternal
- Overrides:
serializeInternal
in classAsyncSearchResponseBase
-
createAsyncSearchStatusResponseDeserializer
public static <TDocument> JsonpDeserializer<AsyncSearchStatusResponse<TDocument>> createAsyncSearchStatusResponseDeserializer(JsonpDeserializer<TDocument> tDocumentDeserializer)Create a JSON deserializer for AsyncSearchStatusResponse -
setupAsyncSearchStatusResponseDeserializer
protected static <TDocument> void setupAsyncSearchStatusResponseDeserializer(ObjectDeserializer<AsyncSearchStatusResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)
-