EventOperationsClient
new EventOperationsClient(clientConfig: ClientConfig, mindsphereCredentials: MindsphereCredentials)
Parameters
clientConfig (ClientConfig)
mindsphereCredentials (MindsphereCredentials)
Instance Members
▸
countEvents(requestObject)
Determines the number of events for a required time resolution.
The microservice takes as an input the entire dataset and the time resolution (example 100ms). The micro service will output the given time interval (startTime, endTime) and the resulted number of event occurrences.
Parameters
requestObject (JSON)
{Keys are data*}
Returns
Promise
:
EventCountOutput of type JSON
*
▸
filterEvents(requestObject)
Simplifies the dataset to the most meaningful data
Filtering the dataset based on the text of the event
Parameters
requestObject (JSON)
{Keys are data*}
Returns
Promise
:
EventArrayOutput of type JSON
*
▸
removeDuplicateEvents(requestObject)
Removes the duplicate events
Determine pre-existing relationships between events for a requested temporal resolution (example 500ms) and reduce the data set by aggregating events with duplicate value.
Parameters
requestObject (JSON)
{Keys are data*}
Returns
Promise
:
DuplicateEventArrayOutput of type JSON
*
▸
topEvents(requestObject)
Find most frequent top N events
Finds the most frequent events, which are sorted by the number of appearances in a dataset in a descending order.
Parameters
requestObject (JSON)
{Keys are data*}
Returns
Promise
:
TopEventOutput of type JSON
*
PatternOperationsClient
new PatternOperationsClient(clientConfig: ClientConfig, mindsphereCredentials: MindsphereCredentials)
Parameters
clientConfig (ClientConfig)
mindsphereCredentials (MindsphereCredentials)
Instance Members
▸
matchPatternsOverEvents(requestObject)
Applies the patterns specified in body on a list of events
Finds all instances of the specified pattern(s) in a collection of events.
Parameters
requestObject (JSON)
{Keys are data*}
Returns
Promise
:
PatternMatchingOutput of type JSON
*