public class SystemAccountingQuery extends Query<ConsumerCL>
call, dateFormat, groupClause, limitClause, orderClause, query, results| Constructor and Description |
|---|
SystemAccountingQuery() |
| Modifier and Type | Method and Description |
|---|---|
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
|
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 ArrayList<String> getTypes() throws QueryNotSetException, Exception
QueryNotSetExceptionExceptionpublic ArrayList<ArrayList<String>> getTypeContent(String name) throws QueryNotSetException, Exception
type - the table nameQueryNotSetExceptionExceptionpublic String getTypeContentAsJSONString(String name) throws QueryNotSetException, Exception
type - the table nameQueryNotSetExceptionExceptionpublic JSONArray getTypeContentAsJSONObject(String name) throws QueryNotSetException, Exception
type - the table nameQueryNotSetExceptionExceptionpublic String queryTypeContentAsJSONString(String query) throws QueryNotSetException, Exception
query - the SQL QueryQueryNotSetExceptionExceptionpublic JSONArray queryTypeContentAsJSONObject(String query) throws QueryNotSetException, Exception
query - the SQL QueryQueryNotSetExceptionExceptionCopyright © 2014. All Rights Reserved.