public class H2TraceQueryDAO extends Object implements ITraceQueryDAO
| Constructor and Description |
|---|
H2TraceQueryDAO(JDBCHikariCPClient h2Client) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildLimit(StringBuilder sql,
int from,
int limit) |
protected JDBCHikariCPClient |
getClient() |
TraceBrief |
queryBasicTraces(long startSecondTB,
long endSecondTB,
long minDuration,
long maxDuration,
String endpointName,
int serviceId,
int endpointId,
String traceId,
int limit,
int from,
TraceState traceState,
QueryOrder queryOrder) |
List<SegmentRecord> |
queryByTraceId(String traceId) |
public H2TraceQueryDAO(JDBCHikariCPClient h2Client)
public TraceBrief queryBasicTraces(long startSecondTB, long endSecondTB, long minDuration, long maxDuration, String endpointName, int serviceId, int endpointId, String traceId, int limit, int from, TraceState traceState, QueryOrder queryOrder) throws IOException
queryBasicTraces in interface ITraceQueryDAOIOExceptionprotected void buildLimit(StringBuilder sql, int from, int limit)
public List<SegmentRecord> queryByTraceId(String traceId) throws IOException
queryByTraceId in interface ITraceQueryDAOIOExceptionprotected JDBCHikariCPClient getClient()
Copyright © 2018 The Apache Software Foundation. All rights reserved.