Class GetAsyncStatusResponse
java.lang.Object
co.elastic.clients.elasticsearch.sql.GetAsyncStatusResponse
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class GetAsyncStatusResponse
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetAsyncStatusResponse>Json deserializer forGetAsyncStatusResponse -
Method Summary
Modifier and TypeMethodDescriptionfinal NumberThe HTTP status code for the search.final longRequired - The timestamp, in milliseconds since the Unix epoch, when Elasticsearch will delete the search and its results, even if the search is still running.final Stringid()Required - The identifier for the search.final booleanRequired - Iftrue, the response does not contain complete search results.final booleanRequired - Iftrue, the search is still running.static GetAsyncStatusResponsevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal longRequired - The timestamp, in milliseconds since the Unix epoch, when the search started.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetAsyncStatusResponse
-
-
Method Details
-
of
public static GetAsyncStatusResponse of(Function<GetAsyncStatusResponse.Builder, ObjectBuilder<GetAsyncStatusResponse>> fn) -
expirationTimeInMillis
public final long expirationTimeInMillis()Required - The timestamp, in milliseconds since the Unix epoch, when Elasticsearch will delete the search and its results, even if the search is still running.API name:
expiration_time_in_millis -
id
Required - The identifier for the search.API name:
id -
isRunning
public final boolean isRunning()Required - Iftrue, the search is still running. Iffalse, the search has finished.API name:
is_running -
isPartial
public final boolean isPartial()Required - Iftrue, the response does not contain complete search results. Ifis_partialistrueandis_runningistrue, the search is still running. Ifis_partialistruebutis_runningisfalse, the results are partial due to a failure or timeout.API name:
is_partial -
startTimeInMillis
public final long startTimeInMillis()Required - The timestamp, in milliseconds since the Unix epoch, when the search started. The API returns this property only for running searches.API name:
start_time_in_millis -
completionStatus
The HTTP status code for the search. The API returns this property only for completed searches.API name:
completion_status -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetAsyncStatusResponseDeserializer
protected static void setupGetAsyncStatusResponseDeserializer(ObjectDeserializer<GetAsyncStatusResponse.Builder> op)
-