public abstract class AbstractChartsProducer extends StandardLocalExternalAlgorithm
| Modifier and Type | Field and Description |
|---|---|
protected static String |
attributesParameter |
protected org.hibernate.SessionFactory |
connection |
boolean |
displaycharts |
protected static String |
inputTableParameter |
protected int |
maxElements |
LinkedHashMap<String,File> |
producedFiles |
LinkedHashMap<String,Image> |
producedImages |
protected static String |
quantitiesParameter |
protected static String |
timeParameter |
protected static String |
topElementsNumber |
config, inputs, outputParameters, resourceManager, status| Constructor and Description |
|---|
AbstractChartsProducer() |
| Modifier and Type | Method and Description |
|---|---|
abstract LinkedHashMap<String,Object> |
createCharts(String[] dimensions,
String quantity,
String time,
List<Object> rows,
boolean displaychart) |
abstract String |
getDescription() |
String[] |
getDimensions() |
StatisticalType |
getOutput() |
String[] |
getQuantities() |
String |
getTimeDimension() |
String |
InfoRetrievalQuery(String table,
String[] dimensions,
String quantity,
String time) |
void |
init() |
protected void |
process() |
protected abstract void |
setInputParameters() |
void |
shutdown() |
addDoubleInput, addEnumerateInput, addIntegerInput, addOutputString, addRemoteDatabaseInput, addStringInput, compute, getInfrastructure, getInputParameter, getInputParameters, getResourceLoad, getResources, getStatus, log, setConfigurationprotected static String inputTableParameter
protected static String attributesParameter
protected static String quantitiesParameter
protected static String timeParameter
protected static String topElementsNumber
public LinkedHashMap<String,Image> producedImages
public LinkedHashMap<String,File> producedFiles
public boolean displaycharts
protected int maxElements
protected org.hibernate.SessionFactory connection
protected abstract void setInputParameters()
setInputParameters in class StandardLocalExternalAlgorithmpublic StatisticalType getOutput()
getOutput in interface ComputationalAgentgetOutput in class StandardLocalExternalAlgorithmpublic void init()
throws Exception
init in interface ComputationalAgentinit in class StandardLocalExternalAlgorithmExceptionpublic abstract String getDescription()
getDescription in interface ComputationalAgentgetDescription in class StandardLocalExternalAlgorithmpublic String[] getDimensions()
public String[] getQuantities()
public String getTimeDimension()
public String InfoRetrievalQuery(String table, String[] dimensions, String quantity, String time)
protected void process()
throws Exception
process in class StandardLocalExternalAlgorithmExceptionpublic abstract LinkedHashMap<String,Object> createCharts(String[] dimensions, String quantity, String time, List<Object> rows, boolean displaychart)
public void shutdown()
shutdown in interface ComputationalAgentshutdown in class StandardLocalExternalAlgorithmCopyright © 2016. All Rights Reserved.