public class H2AggregationQueryDAO extends Object implements IAggregationQueryDAO
| Modifier and Type | Class and Description |
|---|---|
protected static interface |
H2AggregationQueryDAO.AppendCondition |
| Constructor and Description |
|---|
H2AggregationQueryDAO(JDBCHikariCPClient h2Client) |
| Modifier and Type | Method and Description |
|---|---|
List<TopNEntity> |
getAllEndpointTopN(String indName,
String valueCName,
int topN,
Step step,
long startTB,
long endTB,
Order order) |
List<TopNEntity> |
getAllServiceInstanceTopN(String indName,
String valueCName,
int topN,
Step step,
long startTB,
long endTB,
Order order) |
JDBCHikariCPClient |
getClient() |
List<TopNEntity> |
getEndpointTopN(int serviceId,
String indName,
String valueCName,
int topN,
Step step,
long startTB,
long endTB,
Order order) |
List<TopNEntity> |
getServiceInstanceTopN(int serviceId,
String indName,
String valueCName,
int topN,
Step step,
long startTB,
long endTB,
Order order) |
List<TopNEntity> |
getServiceTopN(String indName,
String valueCName,
int topN,
Step step,
long startTB,
long endTB,
Order order) |
protected void |
setTimeRangeCondition(StringBuilder sql,
List<Object> conditions,
long startTimestamp,
long endTimestamp) |
List<TopNEntity> |
topNQuery(String indName,
String valueCName,
int topN,
Step step,
long startTB,
long endTB,
Order order,
H2AggregationQueryDAO.AppendCondition appender) |
public H2AggregationQueryDAO(JDBCHikariCPClient h2Client)
public List<TopNEntity> getServiceTopN(String indName, String valueCName, int topN, Step step, long startTB, long endTB, Order order) throws IOException
getServiceTopN in interface IAggregationQueryDAOIOExceptionpublic List<TopNEntity> getAllServiceInstanceTopN(String indName, String valueCName, int topN, Step step, long startTB, long endTB, Order order) throws IOException
getAllServiceInstanceTopN in interface IAggregationQueryDAOIOExceptionpublic List<TopNEntity> getServiceInstanceTopN(int serviceId, String indName, String valueCName, int topN, Step step, long startTB, long endTB, Order order) throws IOException
getServiceInstanceTopN in interface IAggregationQueryDAOIOExceptionpublic List<TopNEntity> getAllEndpointTopN(String indName, String valueCName, int topN, Step step, long startTB, long endTB, Order order) throws IOException
getAllEndpointTopN in interface IAggregationQueryDAOIOExceptionpublic List<TopNEntity> getEndpointTopN(int serviceId, String indName, String valueCName, int topN, Step step, long startTB, long endTB, Order order) throws IOException
getEndpointTopN in interface IAggregationQueryDAOIOExceptionpublic List<TopNEntity> topNQuery(String indName, String valueCName, int topN, Step step, long startTB, long endTB, Order order, H2AggregationQueryDAO.AppendCondition appender) throws IOException
IOExceptionpublic JDBCHikariCPClient getClient()
protected void setTimeRangeCondition(StringBuilder sql, List<Object> conditions, long startTimestamp, long endTimestamp)
Copyright © 2018 The Apache Software Foundation. All rights reserved.