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<org.elasticsearch.search.SearchHit> events, java.util.List<EqlSearchResponse.Sequence> sequences, java.util.List<EqlSearchResponse.Count> counts, org.apache.lucene.search.TotalHits totalHits)
-
Method Summary
Modifier and Type Method Description java.util.List<EqlSearchResponse.Count>
counts()
boolean
equals(java.lang.Object o)
java.util.List<org.elasticsearch.search.SearchHit>
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<org.elasticsearch.search.SearchHit> events, @Nullable java.util.List<EqlSearchResponse.Sequence> sequences, @Nullable java.util.List<EqlSearchResponse.Count> counts, @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
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
events
public java.util.List<org.elasticsearch.search.SearchHit> events() -
sequences
-
counts
-
totalHits
public org.apache.lucene.search.TotalHits totalHits()
-