public class MonitoringQuery extends Query<ConsumerCL>
call, dateFormat, groupClause, limitClause, orderClause, query, results| Constructor and Description |
|---|
MonitoringQuery() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAllTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type)
getAllTodayGHNAverage
|
String |
getGHNAverage(org.gcube.messaging.common.messages.Test.TestType type,
String ghn)
getGHNAverage
|
Map<String,ArrayList<String>> |
getGHNs()
return the GHNs
|
String |
getNotifications()
get all the notification
|
HashMap<String,String> |
getProbes()
Get the available probes
|
String |
getRIMessages(String serviceClass,
String serviceName)
getRIMessages
|
String |
getStatistics(String testType,
String GHNName,
String startDate,
String endDate,
String groupBy) |
String |
getTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type,
String ghn)
getTodayGHNAverage
|
String |
getTodayNotifications()
getTodayNotifications
|
String |
getTodayRIMessages(String serviceClass,
String serviceName)
getTodayRIMessages
|
String |
performQuery()
The method implemented by subclasses, that performed the query
|
getCall, getDimensions, getGroupClause, getLimitClause, getOrderClause, getQuery, getResults, getResultsAsArray, printQueryResults, query, setCall, setGroupClause, setLimitClause, setLimitClause, setOrderClause, setQuery, setResults, toJSONpublic String performQuery() throws Exception
QueryperformQuery in class Query<ConsumerCL>Exceptionpublic String getGHNAverage(org.gcube.messaging.common.messages.Test.TestType type, String ghn) throws EmptyResultException, Exception
type - Test.TestTypeghn - the ghnExceptionEmptyResultExceptionpublic String getTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type, String ghn) throws EmptyResultException, Exception
type - Test.TestTypeghn - ghn nameExceptionEmptyResultExceptionpublic HashMap<String,String> getProbes() throws Exception
Exceptionpublic Map<String,ArrayList<String>> getGHNs() throws Exception
Exceptionpublic String getAllTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type) throws Exception
type - Test.TestTypeException - exceptionpublic String getNotifications() throws Exception
Exception - exceptionpublic String getTodayNotifications() throws Exception
Exception - exceptionpublic String getTodayRIMessages(String serviceClass, String serviceName) throws Exception
ExceptionEmptyResultException - Exceptionpublic String getRIMessages(String serviceClass, String serviceName) throws Exception
ExceptionCopyright © 2015. All Rights Reserved.