Class ProfileTaskQueryEsDAO
- 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.ProfileTaskQueryEsDAO
-
- All Implemented Interfaces:
DAO,IProfileTaskQueryDAO,org.apache.skywalking.oap.server.library.module.Service
public class ProfileTaskQueryEsDAO extends EsDAO implements IProfileTaskQueryDAO
-
-
Field Summary
-
Fields inherited from class org.apache.skywalking.oap.server.storage.plugin.elasticsearch.base.EsDAO
SCROLL_CONTEXT_RETENTION
-
-
Constructor Summary
Constructors Constructor Description ProfileTaskQueryEsDAO(ElasticSearchClient client, int queryMaxSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProfileTaskgetById(String id)List<ProfileTask>getTaskList(String serviceId, String endpointName, Long startTimeBucket, Long endTimeBucket, Integer limit)-
Methods inherited from class org.apache.skywalking.oap.server.core.storage.AbstractDAO
getClient
-
-
-
-
Constructor Detail
-
ProfileTaskQueryEsDAO
public ProfileTaskQueryEsDAO(ElasticSearchClient client, int queryMaxSize)
-
-
Method Detail
-
getTaskList
public List<ProfileTask> getTaskList(String serviceId, String endpointName, Long startTimeBucket, Long endTimeBucket, Integer limit) throws IOException
- Specified by:
getTaskListin interfaceIProfileTaskQueryDAO- Throws:
IOException
-
getById
public ProfileTask getById(String id) throws IOException
- Specified by:
getByIdin interfaceIProfileTaskQueryDAO- Throws:
IOException
-
-