Developing Apama Applications > Developing Apama Applications in EPL > Making Application Data Available to Clients > Updating DataView Items > DataViewUpdateItemDelta
DataViewUpdateItemDelta
Syntax
event DataViewUpdateItemDelta {
   string msgId;
   string dvName;
   integer dvItemId;
   float timeStamp;
   dictionary<integer,string> fieldValues;
   dictionary<string, string> extraParams;
}
Create and route an event of this type to update a data item by specifying a dictionary of field-position/field-value pairs. If the update does not succeed, a response is provided by a DataViewItemException event.
Syntax description
msgId
Optional field for a message ID that applications can use to identify responses.
dvName
Unique name of this item's associated DataView definition.
dvItemId
Service-generated ID (see DataViewItem) of the item to be updated, or -1 if you supply values for all key fields in fieldValues (see below).
timeStamp
Timestamp of this update (seconds since epoch). If the value given is -1.0, the service will populate this field using correlator currentTime. Note that the default value of the field is 0.0, which prevents trend graphs from updating.
fieldValues
A dictionary of field-position/field-value pairs that specifies the new field values. Field values are in string form. A field's position is its index in the fieldNames sequence in the associated DataView definition.
If dvItemId is -1, fieldValues must include the key values.
extraParams
Optional field that future implementations may use.
Copyright © 2013-2015 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.