public class HSDBHistoricalItem extends Object implements HistoricalItem, ValueSourceManager
| Constructor and Description |
|---|
HSDBHistoricalItem(ScheduledExecutorService executor,
HSDBValueSource source,
HistoricalItemInformation information) |
| Modifier and Type | Method and Description |
|---|---|
Query |
createQuery(QueryParameters parameters,
QueryListener listener,
boolean updateData)
Create a new query
|
void |
dispose() |
HistoricalItemInformation |
getInformation()
Get the item information
|
void |
queryClosed(QueryImpl query) |
boolean |
visit(QueryParameters parameters,
ValueVisitor visitor)
Visit values
|
public HSDBHistoricalItem(ScheduledExecutorService executor, HSDBValueSource source, HistoricalItemInformation information)
public Query createQuery(QueryParameters parameters, QueryListener listener, boolean updateData)
HistoricalItemcreateQuery in interface HistoricalItemparameters - the initial query parameterslistener - the query listenerupdateData - if true then additional updates will be made by
the query when
data changes although the query is QueryState.COMPLETEnull if the query could be be
createdpublic void dispose()
public HistoricalItemInformation getInformation()
HistoricalItemgetInformation in interface HistoricalItempublic void queryClosed(QueryImpl query)
queryClosed in interface ValueSourceManagerpublic boolean visit(QueryParameters parameters, ValueVisitor visitor)
ValueSourceManagervisit in interface ValueSourceManagerparameters - the parameters to visitvisitor - the visitortrue if the run was complete, false if
is was aborted by the visitorCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.