Class LogQueryEsDAO
- 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.LogQueryEsDAO
-
- All Implemented Interfaces:
DAO,ILogQueryDAO,org.apache.skywalking.oap.server.library.module.Service
public class LogQueryEsDAO extends EsDAO implements ILogQueryDAO
-
-
Field Summary
-
Fields inherited from class org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
SCROLL_CONTEXT_RETENTION
-
-
Constructor Summary
Constructors Constructor Description LogQueryEsDAO(ElasticSearchClient client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LogsqueryLogs(String serviceId, String serviceInstanceId, String endpointId, TraceScopeCondition relatedTrace, Order queryOrder, int from, int limit, Duration duration, List<Tag> tags, List<String> keywordsOfContent, List<String> excludingKeywordsOfContent)booleansupportQueryLogsByKeywords()-
Methods inherited from class org.apache.skywalking.oap.server.core.storage.AbstractDAO
getClient
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.skywalking.oap.server.core.storage.query.ILogQueryDAO
parserDataBinary, parserDataBinary
-
-
-
-
Constructor Detail
-
LogQueryEsDAO
public LogQueryEsDAO(ElasticSearchClient client)
-
-
Method Detail
-
supportQueryLogsByKeywords
public boolean supportQueryLogsByKeywords()
- Specified by:
supportQueryLogsByKeywordsin interfaceILogQueryDAO
-
queryLogs
public Logs queryLogs(String serviceId, String serviceInstanceId, String endpointId, TraceScopeCondition relatedTrace, Order queryOrder, int from, int limit, Duration duration, List<Tag> tags, List<String> keywordsOfContent, List<String> excludingKeywordsOfContent) throws IOException
- Specified by:
queryLogsin interfaceILogQueryDAO- Throws:
IOException
-
-