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
Nested ClassesModifier and TypeClassDescriptionstatic classEqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionhits()Required - Contains matching events and sequences.final Stringid()Identifier for the search.final BooleanIf true, the response does not contain complete search results.final BooleanIf true, the search request is still executing.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, BuilderT>>
voidsetupEqlSearchResponseBaseDeserializer(ObjectDeserializer<BuilderT> op, JsonpDeserializer<TEvent> tEventDeserializer) final List<ShardFailure>Contains information about shard failures (if any), in case allow_partial_search_results=truefinal BooleantimedOut()If true, the request timed out before completion.final Longtook()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 -
shardFailures
Contains information about shard failures (if any), in case allow_partial_search_results=trueAPI name:
shard_failures -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupEqlSearchResponseBaseDeserializer
protected static <TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, void setupEqlSearchResponseBaseDeserializerBuilderT>> (ObjectDeserializer<BuilderT> op, JsonpDeserializer<TEvent> tEventDeserializer)
-