public class HistogramQuery extends AbstractSQLQuery implements IHistogramDatasource
AbstractSQLQuery.QueryInfodatasource, endDate, globalWhere, groupName, groupWhere, penWhere, startDate, tableName, timeColbadQuality, chart, data, log, showWarnings| Constructor and Description |
|---|
HistogramQuery(java.lang.String datasource,
java.lang.String tableName,
java.lang.String timeCol) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPen(PenData penData)
Adds a pen to this datasource.
|
Dataset |
getDataset()
The underlying dataset that drives this datasource
|
IHistogram |
getHistogram() |
int |
getNumDatapoints()
Return the number of datapoints currently loaded in this source
|
protected AbstractSQLQuery.QueryInfo |
getWholeQuery()
Construct the query and any parameters
|
void |
initRefs(java.util.Map<java.lang.String,PenData> allPens)
Gives the datasource a chance to install references to other pens
|
boolean |
isDataIn() |
boolean |
isZoomTracking()
True if this datasource should be restarted when the zoom level changes.
|
protected java.lang.Object |
registerQuery(int pollTime,
boolean runOnce)
Register this query with the QueryManager.
|
protected void |
setData(Dataset data) |
protected void |
setDates(PMIEasyChart chart)
Called in order to set the
AbstractSQLQuery.startDate and AbstractSQLQuery.endDate fields with proper late-binding IValue
implementations. |
void |
startup(PMIEasyChart chart)
Start this datasouce up.
|
generateWhereAndOrder, getDatasource, getGroupName, getPenWhere, getQuasiPropertyName, getTableName, getTimeCol, setChart, setDatasource, setGlobalWhere, setGroupName, setGroupWhere, setPenWhere, setTableName, setTimeCol, toStringgetData, getTargetFullPath, handleQueryReturnedError, handleQueryReturnedNoRows, handleQueryReturnedValue, notifyQueryRunning, shutdown, warnclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitshutdownpublic HistogramQuery(java.lang.String datasource,
java.lang.String tableName,
java.lang.String timeCol)
protected AbstractSQLQuery.QueryInfo getWholeQuery()
AbstractSQLQuerygetWholeQuery in class AbstractSQLQueryprotected java.lang.Object registerQuery(int pollTime,
boolean runOnce)
AbstractChartQueryAbstractChartQuery.startup(PMIEasyChart)registerQuery in class AbstractSQLQueryprotected void setDates(PMIEasyChart chart)
AbstractSQLQueryAbstractSQLQuery.startDate and AbstractSQLQuery.endDate fields with proper late-binding IValue
implementations.setDates in class AbstractSQLQuerypublic void startup(PMIEasyChart chart)
IPenDatasourcestartup in interface IPenDatasourcestartup in class AbstractChartQueryprotected void setData(Dataset data)
setData in class AbstractChartQuerypublic IHistogram getHistogram()
getHistogram in interface IHistogramDatasourcepublic boolean isDataIn()
public void addPen(PenData penData)
IPenDatasourceaddPen in interface IPenDatasourcepublic void initRefs(java.util.Map<java.lang.String,PenData> allPens)
IPenDatasourceinitRefs in interface IPenDatasourcepublic int getNumDatapoints()
IPenDatasourcegetNumDatapoints in interface IPenDatasourcepublic Dataset getDataset()
IPenDatasourcegetDataset in interface IPenDatasourcepublic boolean isZoomTracking()
IPenDatasourceisZoomTracking in interface IPenDatasource