Class GetEqlStatusResponse
java.lang.Object
co.elastic.clients.elasticsearch.eql.GetEqlStatusResponse
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<GetEqlStatusResponse>
Json deserializer forGetEqlStatusResponse
-
Method Summary
Modifier and TypeMethodDescriptionfinal Integer
For a completed search shows the http status code of the completed search.final String
Shows a timestamp when the eql search will be expired, in milliseconds since the Unix epoch.final String
id()
Required - Identifier for the search.final boolean
Required - If true, the search request is still executing.final boolean
Required - If true, the response does not contain complete search results.static GetEqlStatusResponse
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
For a running search shows a timestamp when the eql search started, in milliseconds since the Unix epoch.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forGetEqlStatusResponse
-
-
Method Details
-
of
public static GetEqlStatusResponse of(Function<GetEqlStatusResponse.Builder, ObjectBuilder<GetEqlStatusResponse>> fn) -
id
Required - Identifier for the search.API name:
id
-
isPartial
public final boolean isPartial()Required - If true, the search request is still executing. If false, the search is completed.API name:
is_partial
-
isRunning
public final boolean isRunning()Required - If true, the response does not contain complete search results. This could be because either the search is still running (is_running status is false), or because it is already completed (is_running status is true) and results are partial due to failures or timeouts.API name:
is_running
-
startTimeInMillis
For a running search shows a timestamp when the eql search started, in milliseconds since the Unix epoch.API name:
start_time_in_millis
-
expirationTimeInMillis
Shows a timestamp when the eql search will be expired, in milliseconds since the Unix epoch. When this time is reached, the search and its results are deleted, even if the search is still ongoing.API name:
expiration_time_in_millis
-
completionStatus
For a completed search shows the http status code of the completed search.API name:
completion_status
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupGetEqlStatusResponseDeserializer
protected static void setupGetEqlStatusResponseDeserializer(ObjectDeserializer<GetEqlStatusResponse.Builder> op)
-