public class H2MetadataQueryDAO extends Object implements IMetadataQueryDAO
| Constructor and Description |
|---|
H2MetadataQueryDAO(JDBCHikariCPClient h2Client) |
| Modifier and Type | Method and Description |
|---|---|
List<Service> |
getAllServices(long startTimestamp,
long endTimestamp) |
List<ServiceInstance> |
getServiceInstances(long startTimestamp,
long endTimestamp,
String serviceId) |
int |
numOfConjectural(long startTimestamp,
long endTimestamp,
int srcLayer) |
int |
numOfEndpoint(long startTimestamp,
long endTimestamp) |
int |
numOfService(long startTimestamp,
long endTimestamp) |
List<Endpoint> |
searchEndpoint(String keyword,
String serviceId,
int limit) |
Service |
searchService(String serviceCode) |
List<Service> |
searchServices(long startTimestamp,
long endTimestamp,
String keyword) |
public H2MetadataQueryDAO(JDBCHikariCPClient h2Client)
public int numOfService(long startTimestamp,
long endTimestamp)
throws IOException
numOfService in interface IMetadataQueryDAOIOExceptionpublic int numOfEndpoint(long startTimestamp,
long endTimestamp)
throws IOException
numOfEndpoint in interface IMetadataQueryDAOIOExceptionpublic int numOfConjectural(long startTimestamp,
long endTimestamp,
int srcLayer)
throws IOException
numOfConjectural in interface IMetadataQueryDAOIOExceptionpublic List<Service> getAllServices(long startTimestamp, long endTimestamp) throws IOException
getAllServices in interface IMetadataQueryDAOIOExceptionpublic List<Service> searchServices(long startTimestamp, long endTimestamp, String keyword) throws IOException
searchServices in interface IMetadataQueryDAOIOExceptionpublic Service searchService(String serviceCode) throws IOException
searchService in interface IMetadataQueryDAOIOExceptionpublic List<Endpoint> searchEndpoint(String keyword, String serviceId, int limit) throws IOException
searchEndpoint in interface IMetadataQueryDAOIOExceptionpublic List<ServiceInstance> getServiceInstances(long startTimestamp, long endTimestamp, String serviceId) throws IOException
getServiceInstances in interface IMetadataQueryDAOIOExceptionCopyright © 2018 The Apache Software Foundation. All rights reserved.