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 classAsyncSearchStatusResponse.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>>_DESERIALIZERJson deserializer forAsyncSearchStatusResponsebased on named deserializers provided by the callingJsonMapper. -
Method Summary
Modifier and Type Method Description intcompletionStatus()Required - API name:completion_statusstatic <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 voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static <TDocument>
voidsetupAsyncSearchStatusResponseDeserializer(ObjectDeserializer<AsyncSearchStatusResponse.Builder<TDocument>> op, JsonpDeserializer<TDocument> tDocumentDeserializer)ShardStatisticsshards()Required - API name:_shardsMethods inherited from class co.elastic.clients.elasticsearch.async_search.AsyncSearchResponseBase
expirationTimeInMillis, id, isPartial, isRunning, serialize, setupAsyncSearchResponseBaseDeserializer, startTimeInMillis, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forAsyncSearchStatusResponsebased 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:
serializeInternalin 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)
-