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, toJSON
public String performQuery() throws Exception
Query
performQuery
in class Query<ConsumerCL>
Exception
public String getGHNAverage(org.gcube.messaging.common.messages.Test.TestType type, String ghn) throws EmptyResultException, Exception
type
- Test.TestTypeghn
- the ghnException
EmptyResultException
public String getTodayGHNAverage(org.gcube.messaging.common.messages.Test.TestType type, String ghn) throws EmptyResultException, Exception
type
- Test.TestTypeghn
- ghn nameException
EmptyResultException
public HashMap<String,String> getProbes() throws Exception
Exception
public Map<String,ArrayList<String>> getGHNs() throws Exception
Exception
public 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
Exception
EmptyResultException
- Exceptionpublic String getRIMessages(String serviceClass, String serviceName) throws Exception
Exception
Copyright © 2015. All Rights Reserved.