com.apama.database
Event StoreEvent


Sent to the adapter to store the event contained in the eventData field.

The acknowledge field indicates if a StoreOperationAck should be sent. If true any errors will be returned in the errorMessage field of StoreOperationAck, a StoreOperationError will not be sent.

Error only response event: StoreOperationError; errorMessage is equal to "Invalid database id". or otherwise a description of the error.

Optional response event: StoreOperationAck; errorMessage is blank on success, equal to "Invalid database id" or otherwise a description of the error.
Field summary
 integermessageId

Storage message id. The messages next message id must be increasing.
 stringserviceId

The service id.
 integerdatabaseId

Id of database to store into.
 floattimestamp

Used as store time (seconds).
 stringeventData

Raw event (stringified).
 booleanacknowledge

If true a StoreOperationAck should be sent, therefore any errors will be returned in the errorMessage.
 stringtableName

The table to store the event in.
 stringstatementName

Optional user defined statement to use.
 stringtimeColumn

Column for event timestamp, not needed if column name is "time".
 dictionary<stringstring>extraParams

Any additional settings.
 
Field detail

acknowledge

boolean acknowledge
If true a StoreOperationAck should be sent, therefore any errors will be returned in the errorMessage.

databaseId

integer databaseId
Id of database to store into.

eventData

string eventData
Raw event (stringified).

extraParams

dictionary<stringstringextraParams
Any additional settings.

messageId

integer messageId
Storage message id. The messages next message id must be increasing.

serviceId

string serviceId
The service id.

statementName

string statementName
Optional user defined statement to use.

tableName

string tableName
The table to store the event in.

timeColumn

string timeColumn
Column for event timestamp, not needed if column name is "time".

timestamp

float timestamp
Used as store time (seconds).