Class EqlSearchResponseBase<TEvent>
java.lang.Object
co.elastic.clients.elasticsearch.eql.EqlSearchResponseBase<TEvent>
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
EqlGetResponse
,EqlSearchResponse
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
EqlSearchResponseBase.AbstractBuilder<TEvent,
BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, BuilderT>> -
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionhits()
Required - Contains matching events and sequences.final String
id()
Identifier for the search.final Boolean
If true, the response does not contain complete search results.final Boolean
If true, the search request is still executing.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 <TEvent,
BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, BuilderT>>
voidsetupEqlSearchResponseBaseDeserializer
(ObjectDeserializer<BuilderT> op, JsonpDeserializer<TEvent> tEventDeserializer) final Boolean
timedOut()
If true, the request timed out before completion.final Long
took()
Milliseconds it took Elasticsearch to execute the request.toString()
-
Constructor Details
-
EqlSearchResponseBase
-
-
Method Details
-
id
Identifier for the search.API name:
id
-
isPartial
If true, the response does not contain complete search results.API name:
is_partial
-
isRunning
If true, the search request is still executing.API name:
is_running
-
took
Milliseconds it took Elasticsearch to execute the request.API name:
took
-
timedOut
If true, the request timed out before completion.API name:
timed_out
-
hits
Required - Contains matching events and sequences. Also contains related metadata.API name:
hits
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupEqlSearchResponseBaseDeserializer
protected static <TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, void setupEqlSearchResponseBaseDeserializerBuilderT>> (ObjectDeserializer<BuilderT> op, JsonpDeserializer<TEvent> tEventDeserializer)
-