public interface Historian
Modifier and Type | Field and Description |
---|---|
static int |
QUALITY_NOT_FOUND |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
browse(java.util.Optional<java.lang.String> filter)
Returns a list of paths with data stored, optionally matching a filter.
|
StorageSession |
createStorageSession()
Used to store values to the historian.
|
void |
delete(java.util.List<java.lang.String> paths)
Deletes the tags and all data for the specified paths.
|
Status |
getQueryStatus()
Returns the status of the storage system.
|
Status |
getStorageStatus()
Returns the status of the storage system.
|
long |
getTotalDataCount()
Returns an estimate of the total number of datapoints in the system.
|
void |
initialize(PropertySet historianProperties) |
QueryResult |
query(java.util.List<java.lang.String> tags,
long startTime,
long endTime)
Queries the values for the given paths over the specified span of time.
|
void |
register(java.lang.String tag,
PropertySet properties)
Provides information about a path.
|
void |
shutdown() |
static final int QUALITY_NOT_FOUND
long getTotalDataCount()
Status getStorageStatus()
Status getQueryStatus()
void initialize(PropertySet historianProperties) throws java.lang.Exception
java.lang.Exception
void shutdown()
void register(java.lang.String tag, PropertySet properties)
tag
- properties
- StorageSession createStorageSession() throws java.lang.Exception
java.lang.Exception
void delete(java.util.List<java.lang.String> paths)
paths
- java.util.List<java.lang.String> browse(java.util.Optional<java.lang.String> filter)
filter
- a wildcard ("Tag*") based string that will be used to filter tags. If empty, all paths will be returned.QueryResult query(java.util.List<java.lang.String> tags, long startTime, long endTime)
tags
- startTime
- endTime
-