public class EventOperationsClient extends MindsphereAPIClient
Modifier and Type | Class and Description |
---|---|
static class |
EventOperationsClient.ClientBuilder |
MindsphereAPIClient.Builder<T extends MindsphereAPIClient.Builder<T>>
credentials, restClientConfig, restTemplate
Constructor and Description |
---|
EventOperationsClient(EventOperationsClient.ClientBuilder builder) |
Modifier and Type | Method and Description |
---|---|
static EventOperationsClient.ClientBuilder |
builder() |
EventCountOutput |
countEvents(CountEventsRequest requestObject)
Determines the number of events for a required time resolution.
|
EventCountOutput |
countEvents(EventInput data)
Determines the number of events for a required time resolution.
|
EventArrayOutput |
filterEvents(EventSearchInputDataModel data)
Simplifies the dataset to the most meaningful data Filtering the dataset
based on the text of the event
|
EventArrayOutput |
filterEvents(FilterEventsRequest requestObject)
Simplifies the dataset to the most meaningful data
Filtering the dataset based on the text of the event
|
DuplicateEventArrayOutput |
removeDuplicateEvents(EventInput data)
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.
|
DuplicateEventArrayOutput |
removeDuplicateEvents(RemoveDuplicateEventsRequest 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.
|
TopEventOutput |
topEvents(TopEventsInputDataModel data)
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.
|
TopEventOutput |
topEvents(TopEventsRequest 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.
|
public EventOperationsClient(EventOperationsClient.ClientBuilder builder)
public static EventOperationsClient.ClientBuilder builder()
public EventCountOutput countEvents(CountEventsRequest requestObject) throws MindsphereException
200 - OK
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
requestObject
- - Object of type CountEventsRequest {Parameters are data*}MindsphereException
- if an error occurs while attempting to invoke the APIpublic EventArrayOutput filterEvents(FilterEventsRequest requestObject) throws MindsphereException
200 - OK
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
requestObject
- - Object of type FilterEventsRequest {Parameters are data*}MindsphereException
- if an error occurs while attempting to invoke the APIpublic DuplicateEventArrayOutput removeDuplicateEvents(RemoveDuplicateEventsRequest requestObject) throws MindsphereException
200 - OK
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
requestObject
- - Object of type RemoveDuplicateEventsRequest {Parameters are data*}MindsphereException
- if an error occurs while attempting to invoke the APIpublic TopEventOutput topEvents(TopEventsRequest requestObject) throws MindsphereException
200 - Array of TopEventOutput List
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
requestObject
- - Object of type TopEventsRequest {Parameters are data*}MindsphereException
- if an error occurs while attempting to invoke the APIpublic EventCountOutput countEvents(EventInput data) throws MindsphereException
200 - OK
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
data
- Data structure with two parts <b>eventsMetadata</b>,
<b>events</b>. <ul> <li>
<b>eventsMetadata</b> Metadata for the events list
specifying the property name of the item in the events list that
contains the text of the event
(<b>eventTextPropertyName</b>) and time window length
in miliseconds of the period in which time interval will be split
(<b>splitInterval</b>).</li> <li>
<b>events</b> List with the events that will be
processed.</li> </ul>MindsphereException
- if an error occurs while attempting to invoke the APIpublic EventArrayOutput filterEvents(EventSearchInputDataModel data) throws MindsphereException
200 - OK
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
data
- Data structure with three parts -
<b>eventsMetadata</b>, <b>filterList</b>,
and <b>events</b>.<ul> <li>
<b>eventsMetadata</b> Metadata for the events list
specifying the property name of the item in the events list that
contains the text of the event. </li> <li>
<b>filterList</b> Types of events to be removed
</li> <li> <b>events</b> List with the
events that will be processed.</li> </ul>MindsphereException
- if an error occurs while attempting to invoke the APIpublic DuplicateEventArrayOutput removeDuplicateEvents(EventInput data) throws MindsphereException
200 - OK
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
data
- Data structure with two parts <b>eventsMetadata</b>,
<b>events</b>. <ul> <li>
<b>eventsMetadata</b> Metadata for the events list
specifying the property name of the item in the events list that
contains the text of the event
(<b>eventTextPropertyName</b>) and time window length
in miliseconds of the period in which time interval will be split
(<b>splitInterval</b>). </li> <li>
<b>events</b> List with the events that will be
processed.</li> </ul>MindsphereException
- if an error occurs while attempting to invoke the APIpublic TopEventOutput topEvents(TopEventsInputDataModel data) throws MindsphereException
200 - Array of TopEventOutput List
400 - Wrong parameters
403 - Not Authorized. Missing security scope \\\"as.ea.u\\\"
503 - Internal error
data
- Data structure with three parts -
<b>numberOfTopPositionsRequired</b>,
<b>eventsMetadata</b>, and <b>events</b>.
<ul> <li>
<b>numberOfTopPositionsRequired</b> How many top
positions will be returned in the response. Has to be a positive
integer. If not specified, the default value 10 will be
used.</li> <li> <b>eventsMetadata</b>
Metadata for the events list specifying the property name of the
item in the events list that contains the text of the
event.</li> <li> <b>events</b> List with
the events that will be processed.</li> </ul>MindsphereException
- if an error occurs while attempting to invoke the API