Class ESEventQueryDAO
- java.lang.Object
-
- org.apache.skywalking.oap.server.core.storage.AbstractDAO<ElasticSearchClient>
-
- org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
-
- org.apache.skywalking.oap.server.storage.plugin.elasticsearch.query.ESEventQueryDAO
-
- All Implemented Interfaces:
DAO,IEventQueryDAO,org.apache.skywalking.oap.server.library.module.Service
public class ESEventQueryDAO extends EsDAO implements IEventQueryDAO
-
-
Field Summary
-
Fields inherited from class org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
SCROLL_CONTEXT_RETENTION
-
Fields inherited from interface org.apache.skywalking.oap.server.core.storage.query.IEventQueryDAO
MAX_SIZE
-
-
Constructor Summary
Constructors Constructor Description ESEventQueryDAO(ElasticSearchClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.skywalking.library.elasticsearch.requests.search.SearchBuilderbuildQuery(List<EventQueryCondition> conditionList)protected org.apache.skywalking.library.elasticsearch.requests.search.SearchBuilderbuildQuery(EventQueryCondition condition)protected EventparseSearchHit(org.apache.skywalking.library.elasticsearch.response.search.SearchHit searchHit)EventsqueryEvents(List<EventQueryCondition> conditionList)EventsqueryEvents(EventQueryCondition condition)-
Methods inherited from class org.apache.skywalking.oap.server.core.storage.AbstractDAO
getClient
-
-
-
-
Constructor Detail
-
ESEventQueryDAO
public ESEventQueryDAO(ElasticSearchClient client)
-
-
Method Detail
-
queryEvents
public Events queryEvents(EventQueryCondition condition) throws Exception
- Specified by:
queryEventsin interfaceIEventQueryDAO- Throws:
Exception
-
queryEvents
public Events queryEvents(List<EventQueryCondition> conditionList) throws Exception
- Specified by:
queryEventsin interfaceIEventQueryDAO- Throws:
Exception
-
buildQuery
protected org.apache.skywalking.library.elasticsearch.requests.search.SearchBuilder buildQuery(List<EventQueryCondition> conditionList)
-
buildQuery
protected org.apache.skywalking.library.elasticsearch.requests.search.SearchBuilder buildQuery(EventQueryCondition condition)
-
parseSearchHit
protected Event parseSearchHit(org.apache.skywalking.library.elasticsearch.response.search.SearchHit searchHit)
-
-