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, toJSON
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 nameQueryNotSetException
Exception
public String getTypeContentAsJSONString(String name) throws QueryNotSetException, Exception
type
- the table nameQueryNotSetException
Exception
public JSONArray getTypeContentAsJSONObject(String name) throws QueryNotSetException, Exception
type
- the table nameQueryNotSetException
Exception
public String queryTypeContentAsJSONString(String query) throws QueryNotSetException, Exception
query
- the SQL QueryQueryNotSetException
Exception
public JSONArray queryTypeContentAsJSONObject(String query) throws QueryNotSetException, Exception
query
- the SQL QueryQueryNotSetException
Exception
Copyright © 2015. All Rights Reserved.