Class TraceQueryEsDAO
- 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.TraceQueryEsDAO
-
- All Implemented Interfaces:
DAO,ITraceQueryDAO,org.apache.skywalking.oap.server.library.module.Service
public class TraceQueryEsDAO extends EsDAO implements ITraceQueryDAO
-
-
Field Summary
-
Fields inherited from class org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
SCROLL_CONTEXT_RETENTION
-
-
Constructor Summary
Constructors Constructor Description TraceQueryEsDAO(ElasticSearchClient client, int segmentQueryMaxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Span>doFlexibleTraceQuery(String traceId)TraceBriefqueryBasicTraces(Duration duration, long minDuration, long maxDuration, String serviceId, String serviceInstanceId, String endpointId, String traceId, int limit, int from, TraceState traceState, QueryOrder queryOrder, List<Tag> tags)List<SegmentRecord>queryByTraceId(String traceId)-
Methods inherited from class org.apache.skywalking.oap.server.core.storage.AbstractDAO
getClient
-
-
-
-
Constructor Detail
-
TraceQueryEsDAO
public TraceQueryEsDAO(ElasticSearchClient client, int segmentQueryMaxSize)
-
-
Method Detail
-
queryBasicTraces
public TraceBrief queryBasicTraces(Duration duration, long minDuration, long maxDuration, String serviceId, String serviceInstanceId, String endpointId, String traceId, int limit, int from, TraceState traceState, QueryOrder queryOrder, List<Tag> tags) throws IOException
- Specified by:
queryBasicTracesin interfaceITraceQueryDAO- Throws:
IOException
-
queryByTraceId
public List<SegmentRecord> queryByTraceId(String traceId) throws IOException
- Specified by:
queryByTraceIdin interfaceITraceQueryDAO- Throws:
IOException
-
doFlexibleTraceQuery
public List<Span> doFlexibleTraceQuery(String traceId) throws IOException
- Specified by:
doFlexibleTraceQueryin interfaceITraceQueryDAO- Throws:
IOException
-
-