Package org.elasticsearch.client.eql
Class EqlSearchResponse.Hits
java.lang.Object
org.elasticsearch.client.eql.EqlSearchResponse.Hits
- Enclosing class:
- EqlSearchResponse
public static class EqlSearchResponse.Hits
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static EqlSearchResponse.Hits
EMPTY
-
Constructor Summary
Constructors Constructor Description Hits(java.util.List<EqlSearchResponse.Event> events, java.util.List<EqlSearchResponse.Sequence> sequences, org.apache.lucene.search.TotalHits totalHits)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<EqlSearchResponse.Event>
events()
static EqlSearchResponse.Hits
fromXContent(org.elasticsearch.common.xcontent.XContentParser parser)
int
hashCode()
java.util.List<EqlSearchResponse.Sequence>
sequences()
org.apache.lucene.search.TotalHits
totalHits()
-
Field Details
-
Constructor Details
-
Hits
public Hits(@Nullable java.util.List<EqlSearchResponse.Event> events, @Nullable java.util.List<EqlSearchResponse.Sequence> sequences, @Nullable org.apache.lucene.search.TotalHits totalHits)
-
-
Method Details
-
fromXContent
public static EqlSearchResponse.Hits fromXContent(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
events
-
sequences
-
totalHits
public org.apache.lucene.search.TotalHits totalHits() -
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-