Description Usage Arguments Format Details Author(s)
Curator
Class responsible for building, validating and executing
queries into objects that manage history or states of other objects.
Concretely, this class manages queries into Historian and StateManager
objects.
1 |
className |
Character string containing the class to which the query objects belong. |
objectName |
Character string containing the name of the object being queried. |
dateFrom |
ISO or 8601 formatted date indicating the date from which data should be returned. |
dateTo |
ISO or 8601 formatted date indicating the date to which data should be returned. |
lastN |
Numeric indicating the last N minutes, hours, days weeks or months for which data should be returned. Values will be rounded to nearest integer. |
unit |
Character string indicating the unit of time associated with the lastN variable. Valid values include c("min", "hour", "day", "week", "month") |
An object of class R6ClassGenerator
of length 24.
Curator Methods: The Curator methods are as follows:
initialize(target)
Initializes a Curator object for the target object.
buildQuery()
Builds the query for the target object.
submitQuery()
Submits the query to the target object.
getQuery()
Returns the query to the calling method.
Getter/Setter Methods: The query can be built, parameter at a time with the following getter/setter methods
className
Getter/setter method for the classNsme query parameter.
objectName
Getter/setter method for the objectName query parameter.
dateFrom
Getter/setter method for the dateFrom query parameter.
dateTo
Getter/setter method for the dateTo query parameter.
lastN
Getter/setter method for the lastN query parameter.
unit
Getter/setter method for the unit query parameter.
John James, jjames@DataScienceSalon.org
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.