Class EqlSearchResponseBase<TEvent>
java.lang.Object
co.elastic.clients.elasticsearch.eql.EqlSearchResponseBase<TEvent>
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
GetResponse,SearchResponse
public abstract class EqlSearchResponseBase<TEvent> extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classEqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent,BuilderT>> -
Constructor Summary
Constructors Constructor Description EqlSearchResponseBase(EqlSearchResponseBase.AbstractBuilder<TEvent,?> builder) -
Method Summary
Modifier and Type Method Description EqlHits<TEvent>hits()Required - Contains matching events and sequences.java.lang.Stringid()Identifier for the search.java.lang.BooleanisPartial()If true, the response does not contain complete search results.java.lang.BooleanisRunning()If 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(DelegatingDeserializer<BuilderT> op, JsonpDeserializer<TEvent> tEventDeserializer)java.lang.BooleantimedOut()If true, the request timed out before completion.java.lang.Integertook()Milliseconds it took Elasticsearch to execute the request.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EqlSearchResponseBase
-
-
Method Details
-
id
@Nullable public java.lang.String id()Identifier for the search.API name:
id -
isPartial
@Nullable public java.lang.Boolean isPartial()If true, the response does not contain complete search results.API name:
is_partial -
isRunning
@Nullable public java.lang.Boolean isRunning()If true, the search request is still executing.API name:
is_running -
took
@Nullable public java.lang.Integer took()Milliseconds it took Elasticsearch to execute the request.API name:
took -
timedOut
@Nullable public java.lang.Boolean 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupEqlSearchResponseBaseDeserializer
protected static <TEvent, BuilderT extends EqlSearchResponseBase.AbstractBuilder<TEvent, BuilderT>> void setupEqlSearchResponseBaseDeserializer(DelegatingDeserializer<BuilderT> op, JsonpDeserializer<TEvent> tEventDeserializer)
-