Developing Apama Applications > Developing Apama Applications in EPL > Making Application Data Available to Clients > Updating DataView Items > DataViewUpdateItem
DataViewUpdateItem
Syntax
event DataViewUpdateItem {
   string msgId;
   string dvName;
   integer dvItemId;
   float timeStamp;
   sequence<string> fieldValues;
   dictionary<string, string> extraParams;
}
Create and route an event of this type in order to update a data item by specifying a sequence of new filed values. If the update does not succeed, a response is provided by a DataViewItemException event.
Syntax description
msgId is an optional field for a message ID that applications can use to identify responses.
dvName is the unique name of this item’s associated DataView definition.
dvItemId is the service-generated ID (see DataViewItem) of the item to be deleted, or -1 if the keyFields field is specified instead.
timeStamp is the timestamp of the update (seconds since epoch). If the value given is -1.0, the service will populate it using correlator currentTime. Note that the default value of the field is 0.0, which prevents trend graphs from updating.
fieldValues is a sequence of new field values in string form. The ith value in the sequence is established as the value of the ith field specified in the fieldNamesequence of the associated DataView definition.
extraParams is an optional field that future implementations may use.
Copyright © Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its Subsidiaries and or/its Affiliates and/or their licensors.
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.