|
||||||||||
| 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.SystemAccountingQuery
public class SystemAccountingQuery
| Field Summary |
|---|
| Fields inherited from class org.gcube.messaging.common.consumerlibrary.query.Query |
|---|
call, dateFormat, groupClause, limitClause, orderClause, query, results |
| Constructor Summary | |
|---|---|
SystemAccountingQuery()
|
|
| Method Summary | |
|---|---|
ArrayList<ArrayList<String>> |
getTypeContent(String name)
Get the table content stored on the SystemAccounting DB |
JSONArray |
getTypeContentAsJSONObject(String name)
Get the table content stored on the SystemAccounting DB as JSON Object |
String |
getTypeContentAsJSONString(String name)
Get the table content stored on the SystemAccounting DB as JSON |
ArrayList<String> |
getTypes()
Get the types ( tables ) stored on the SystemAccounting DB |
String |
performQuery()
The method implemented by subclasses, that performed the query |
JSONArray |
queryTypeContentAsJSONObject(String query)
Get the table content stored on the SystemAccounting DB as JSON Object |
String |
queryTypeContentAsJSONString(String query)
Get the table content stored on the SystemAccounting DB as JSON |
| 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 |
| Constructor Detail |
|---|
public SystemAccountingQuery()
| Method Detail |
|---|
public String performQuery()
throws Exception
Query
performQuery in class Query<ConsumerCL>Exception
public ArrayList<String> getTypes()
throws QueryNotSetException,
Exception
QueryNotSetException
Exception
public ArrayList<ArrayList<String>> getTypeContent(String name)
throws QueryNotSetException,
Exception
type - the table name
QueryNotSetException
Exception
public String getTypeContentAsJSONString(String name)
throws QueryNotSetException,
Exception
type - the table name
QueryNotSetException
Exception
public JSONArray getTypeContentAsJSONObject(String name)
throws QueryNotSetException,
Exception
type - the table name
QueryNotSetException
Exception
public String queryTypeContentAsJSONString(String query)
throws QueryNotSetException,
Exception
query - the SQL Query
QueryNotSetException
Exception
public JSONArray queryTypeContentAsJSONObject(String query)
throws QueryNotSetException,
Exception
query - the SQL Query
QueryNotSetException
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||