|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.messaging.common.consumerlibrary.query.Query<ConsumerCL>
org.gcube.messaging.common.consumerlibrary.query.AccountingQuery
org.gcube.messaging.common.consumerlibrary.query.NodeAccountingQuery
public class NodeAccountingQuery
Nested Class Summary | |
---|---|
class |
NodeAccountingQuery.InvocationInfo
|
Field Summary | |
---|---|
static String |
DATE_FORMAT
|
static SimpleDateFormat |
format
|
Fields inherited from class org.gcube.messaging.common.consumerlibrary.query.Query |
---|
call, dateFormat, groupClause, limitClause, orderClause, query, results |
Constructor Summary | |
---|---|
NodeAccountingQuery()
|
Method Summary | |
---|---|
NodeAccountingQuery.InvocationInfo |
getAverageHourlyInvocationInfo(String ServiceClass,
String ServiceName,
String[] dateLimits,
org.gcube.common.core.scope.GCUBEScope... callerScope)
Deprecated. |
Long |
getAverageHourlyInvocations(String ServiceClass,
String ServiceName,
String[] dateLimits,
org.gcube.common.core.scope.GCUBEScope... callerScope)
Deprecated. |
NodeAccountingQuery.InvocationInfo |
getDailyInvocations(String ServiceClass,
String ServiceName,
String GHNName,
String date,
org.gcube.common.core.scope.GCUBEScope... callerScope)
Deprecated. |
ArrayList<NodeAccountingQuery.InvocationInfo> |
getDailyInvocationsGroupByIp(String ServiceClass,
String ServiceName,
String GHNName,
String date,
org.gcube.common.core.scope.GCUBEScope... callerScope)
Deprecated. |
Map<String,ArrayList<String>> |
getGHNs()
|
NodeAccountingQuery.InvocationInfo |
getHourlyInvocations(String ServiceClass,
String ServiceName,
String GHNName,
String date,
String hourInterval,
org.gcube.common.core.scope.GCUBEScope... callerScope)
Deprecated. |
NodeAccountingQuery.InvocationInfo |
getInvocationPerHour(String startDate,
String endDate,
org.gcube.common.core.scope.GCUBEScope... callerScope)
getInvocationPerHour |
NodeAccountingQuery.InvocationInfo |
getInvocationPerInterval(String serviceClass,
String serviceName,
String startDate,
String endDate,
org.gcube.common.core.scope.GCUBEScope... callerScope)
|
NodeAccountingQuery.InvocationInfo |
getInvocationPerInterval(String serviceClass,
String serviceName,
String GHNName,
String startDate,
String endDate,
org.gcube.common.core.scope.GCUBEScope... callerScope)
getInvocationPerInterval |
String |
getInvocationPerInterval(String serviceClass,
String serviceName,
String GHNName,
String startDate,
String endDate,
String callerScope,
String groupBy)
|
ArrayList<ArrayList<String>> |
getScopes()
|
Map<String,ArrayList<String>> |
getServices()
|
Integer |
getSumInvocations(String ServiceClass,
String ServiceName,
org.gcube.common.core.scope.GCUBEScope... callerScope)
Deprecated. |
Methods inherited from class org.gcube.messaging.common.consumerlibrary.query.AccountingQuery |
---|
performQuery |
Methods inherited from class org.gcube.messaging.common.consumerlibrary.query.Query |
---|
getCall, getDimensions, getGroupClause, getLimitClause, getOrderClause, getQuery, getResults, getResultsAsArray, printQueryResults, query, setCall, setGroupClause, setLimitClause, setLimitClause, setOrderClause, setQuery, setResults, toJSON |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DATE_FORMAT
public static SimpleDateFormat format
Constructor Detail |
---|
public NodeAccountingQuery()
Method Detail |
---|
public NodeAccountingQuery.InvocationInfo getInvocationPerInterval(String serviceClass, String serviceName, String GHNName, String startDate, String endDate, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception
serviceClass
- serviceClassserviceName
- serviceNameGHNName
- GHNNamestartDate
- startDate ( in the form "yyyy-MM-dd HH:mm:ss")endDate
- endDate ( in the form "yyyy-MM-dd HH:mm:ss")callerScope
- callerScope
Exception
- callerScopepublic NodeAccountingQuery.InvocationInfo getInvocationPerInterval(String serviceClass, String serviceName, String startDate, String endDate, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception
Exception
public String getInvocationPerInterval(String serviceClass, String serviceName, String GHNName, String startDate, String endDate, String callerScope, String groupBy) throws Exception
Exception
public NodeAccountingQuery.InvocationInfo getInvocationPerHour(String startDate, String endDate, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception
startDate
- ( in the form "yyyy-MM-dd HH:mm:ss")endDate
- ( in the form "yyyy-MM-dd HH:mm:ss")callerScope
- callerScope
Exception
@Deprecated public NodeAccountingQuery.InvocationInfo getHourlyInvocations(String ServiceClass, String ServiceName, String GHNName, String date, String hourInterval, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- ServiceNamedate
- datehourInterval
- String in the form (12-13)callerScope
- callerScope optional
Exception
- Exception
EmptyResultException
- Exception@Deprecated public Integer getSumInvocations(String ServiceClass, String ServiceName, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- ServiceNamedate
- datehourInterval
- String in the form (12-13)callerScope
- callerScope optional
Exception
- Exception
EmptyResultException
- Exception@Deprecated public NodeAccountingQuery.InvocationInfo getAverageHourlyInvocationInfo(String ServiceClass, String ServiceName, String[] dateLimits, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception, EmptyResultException
dateLimits
- dateLimitscallerScope
- optional
Exception
EmptyResultException
@Deprecated public Long getAverageHourlyInvocations(String ServiceClass, String ServiceName, String[] dateLimits, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception, EmptyResultException
dateLimits
- dateLimitscallerScope
- optional
Exception
EmptyResultException
@Deprecated public NodeAccountingQuery.InvocationInfo getDailyInvocations(String ServiceClass, String ServiceName, String GHNName, String date, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- GHNNamedate
- date stringcallerScope
- optional
Exception
- Exception
EmptyResultException
- Exception@Deprecated public ArrayList<NodeAccountingQuery.InvocationInfo> getDailyInvocationsGroupByIp(String ServiceClass, String ServiceName, String GHNName, String date, org.gcube.common.core.scope.GCUBEScope... callerScope) throws Exception, EmptyResultException
ServiceClass
- ServiceClassServiceName
- ServiceNameGHNName
- GHNNamedate
- date stringcallerScope
- optional
Exception
- Exception
EmptyResultException
- Exceptionpublic Map<String,ArrayList<String>> getServices() throws Exception
Exception
public Map<String,ArrayList<String>> getGHNs() throws Exception
Exception
public ArrayList<ArrayList<String>> getScopes() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |