|
||||||||||
| 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<MessagingConsumerServiceCall>
org.gcube.messaging.common.consumerlibrary.query.SystemAccountingQuery
public class SystemAccountingQuery
| Constructor Summary | |
|---|---|
SystemAccountingQuery()
|
|
| Method Summary | |
|---|---|
java.util.ArrayList<java.util.ArrayList<java.lang.String>> |
getTypeContent(java.lang.String name)
Get the table content stored on the SystemAccounting DB |
JSONArray |
getTypeContentAsJSONObject(java.lang.String name)
Get the table content stored on the SystemAccounting DB as JSON Object |
java.lang.String |
getTypeContentAsJSONString(java.lang.String name)
Get the table content stored on the SystemAccounting DB as JSON |
java.util.ArrayList<java.lang.String> |
getTypes()
Get the types ( tables ) stored on the SystemAccounting DB |
java.lang.String |
performQuery()
The method implemented by subclasses, that performed the query |
JSONArray |
queryTypeContentAsJSONObject(java.lang.String query)
Get the table content stored on the SystemAccounting DB as JSON Object |
java.lang.String |
queryTypeContentAsJSONString(java.lang.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 |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SystemAccountingQuery()
| Method Detail |
|---|
public java.lang.String performQuery()
throws java.lang.Exception
Query
java.lang.Exception
public java.util.ArrayList<java.lang.String> getTypes()
throws QueryNotSetException,
java.lang.Exception
QueryNotSetException
java.lang.Exception
public java.util.ArrayList<java.util.ArrayList<java.lang.String>> getTypeContent(java.lang.String name)
throws QueryNotSetException,
java.lang.Exception
type - the table name
QueryNotSetException
java.lang.Exception
public java.lang.String getTypeContentAsJSONString(java.lang.String name)
throws QueryNotSetException,
java.lang.Exception
type - the table name
QueryNotSetException
java.lang.Exception
public JSONArray getTypeContentAsJSONObject(java.lang.String name)
throws QueryNotSetException,
java.lang.Exception
type - the table name
QueryNotSetException
java.lang.Exception
public java.lang.String queryTypeContentAsJSONString(java.lang.String query)
throws QueryNotSetException,
java.lang.Exception
query - the SQL Query
QueryNotSetException
java.lang.Exception
public JSONArray queryTypeContentAsJSONObject(java.lang.String query)
throws QueryNotSetException,
java.lang.Exception
query - the SQL Query
QueryNotSetException
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||