FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
Constant Summary | |
---|---|
constant string | MEMORY_STORE_PREFIX := "MEMST_"
|
constant string | PREFIX := "DV_"
|
constant string | SCENARIO_SERVICE_CHANNEL := "com.apama.scenario"
|
Member Summary | |
---|---|
boolean | LOG_DEBUG
|
boolean | LOG_INFO
|
boolean | LOG_WARN
|
boolean | LOG_ERROR
|
string | dvName
|
string | scenarioId
|
integer | NUM_FIELDS
|
sequence<integer > | compoundKeyIndexes
|
sequence<string > | compoundKeyNames
|
dictionary<string, integer > | compoundKeyInstanceDictionary
|
dictionary<integer, com.apama.dataview._Item > | instancesDictionary
|
dictionary<string, integer > | fieldLookupDictionary
|
dictionary<string, string > | escapeCharMap
|
com.apama.scenario.ScenarioServiceUpdaterMultipleInstances | updater
|
listener | requestInstancesListener
|
Action Summary | |
---|---|
com.apama.dataview.DataViewResult |
addDataViewItem(string owner, float timeStamp, sequence<string > fieldValues)
Add a new DataViewItem to the current DataView. |
com.apama.dataview.DataViewResult |
addOrDeltaUpdateDataViewItem(string owner, float timeStamp, dictionary<integer, string > fieldValues)
Add a new DataViewItem to the current DataView if it does not already exist, or update a SUBSET of the field values of an existing DataViewItem in the current DataView. Attempts to change the owner of an existing item will be rejected. |
com.apama.dataview.DataViewResult |
addOrDeltaUpdateDataViewItemByFieldName(string owner, float timeStamp, dictionary<string, string > fieldValues)
Add a new DataViewItem to the current DataView if it does not already exist, or update a SUBSET of the field values of an existing DataViewItem in the current DataView by providing refrence by field name. |
com.apama.dataview.DataViewResult |
addOrUpdateDataViewItem(string owner, float timeStamp, sequence<string > fieldValues)
Add a new DataViewItem to the current DataView if it does not already exist, or update it if it does exist. This will ONLY work when keyFields are used. Attempts to change the owner of an existing item will be rejected. |
void |
debug(string msg)
|
com.apama.dataview.DataViewResult |
define(string dvName, string dvDisplayName, string dvDescription, sequence<string > fieldNames, sequence<string > fieldTypes, sequence<string > keyFields, context mainCtx)
The define action that checks all the parameters are valid and creates the Scenario for the Data View. |
void |
deleteAllDataViewItems()
Delete all existing DataViewItems from the current DataView. |
com.apama.dataview.DataViewResult |
deleteDataViewItem(integer itemId)
Delete an existing DataViewItem from the current DataView. |
com.apama.dataview.DataViewResult |
deleteDataViewItemByKeyFields(sequence<string > keyFields)
Delete an existing DataViewItem from the current DataView by matching the supplied key fields. |
void |
emitAcknowledgement(integer messageId, com.apama.dataview._Item item)
|
void |
emitNack(integer messageId, integer scenarioInstanceId)
|
void |
error(string msg)
|
sequence<string > |
getDataViewItem(integer itemId)
Retrieve the field values for a DataView item by id. |
sequence<string > |
getDataViewItemByKeyFields(sequence<string > keyFields)
Retrieve the field values for a DataView with these key fields. |
dictionary<string, integer > |
getFieldNameToIndex()
Retrieve the helper dictionary to facilitate sequence position lookup by field name. |
boolean |
hasDataViewItem(integer itemId)
Does a DataView item already exist with this id. |
com.apama.dataview.DataViewResult |
hasDataViewItemByKeyFields(sequence<string > keyFields)
Does a DataView item already exist with these key fields. |
void |
info(string msg)
|
com.apama.dataview.DataViewResult |
initialise(string dvName, string dvDisplayName, string dvDescription, sequence<string > fieldNames, sequence<string > fieldTypes, sequence<string > keyFields, context mainCtx)
The initialisation action that checks all the parameters are valid but DOES NOT create the Scenario for the Data View. |
void |
onSpawn()
MUST be called when a DataViewManager is spawned to clear out its instance state and register the context with the ScenarioService. |
void |
setLogLevel(string level)
Change the log level. |
void |
undefine()
Deletes an existing DataView and unloads the Scenario. This should be called once per DataView and from the same context which defined the DataView. |
void |
uninitialise()
Deletes and cleans up the manager WITHOUT unloading the Scenario. This should be called if initialise() was used.. |
com.apama.dataview.DataViewResult |
updateDeltaDataViewItem(integer itemId, float timeStamp, dictionary<integer, string > fieldValues)
Update a SUBSET of the field values of an existing DataViewItem in the current DataView. |
com.apama.dataview.DataViewResult |
updateDeltaDataViewItemByFieldName(integer itemId, float timeStamp, dictionary<string, string > fieldValues)
Update a SUBSET of the field values of an existing DataViewItem in the current DataView. |
com.apama.dataview.DataViewResult |
updateFullDataViewItem(integer itemId, float timeStamp, sequence<string > fieldValues)
Update ALL the field values of an existing DataViewItem in the current DataView. |
void |
warn(string msg)
|
Constant Detail |
---|
constant string MEMORY_STORE_PREFIX := "MEMST_"
constant string PREFIX := "DV_"
constant string SCENARIO_SERVICE_CHANNEL := "com.apama.scenario"
Member Detail |
---|
sequence<integer > compoundKeyIndexes
dictionary<string, integer > compoundKeyInstanceDictionary
sequence<string > compoundKeyNames
string dvName
dictionary<string, string > escapeCharMap
dictionary<string, integer > fieldLookupDictionary
dictionary<integer, com.apama.dataview._Item > instancesDictionary
boolean LOG_DEBUG
boolean LOG_ERROR
boolean LOG_INFO
boolean LOG_WARN
integer NUM_FIELDS
listener requestInstancesListener
string scenarioId
com.apama.scenario.ScenarioServiceUpdaterMultipleInstances updater
Action Detail |
---|
com.apama.dataview.DataViewResult addDataViewItem(string owner, float timeStamp, sequence<string > fieldValues)Add a new DataViewItem to the current DataView.
com.apama.dataview.DataViewResult addOrDeltaUpdateDataViewItem(string owner, float timeStamp, dictionary<integer, string > fieldValues)Add a new DataViewItem to the current DataView if it does not already exist, or update a SUBSET of the field values of an existing DataViewItem in the current DataView. Attempts to change the owner of an existing item will be rejected.
com.apama.dataview.DataViewResult addOrDeltaUpdateDataViewItemByFieldName(string owner, float timeStamp, dictionary<string, string > fieldValues)Add a new DataViewItem to the current DataView if it does not already exist, or update a SUBSET of the field values of an existing DataViewItem in the current DataView by providing refrence by field name.
com.apama.dataview.DataViewResult addOrUpdateDataViewItem(string owner, float timeStamp, sequence<string > fieldValues)Add a new DataViewItem to the current DataView if it does not already exist, or update it if it does exist. This will ONLY work when keyFields are used. Attempts to change the owner of an existing item will be rejected.
void debug(string msg)
com.apama.dataview.DataViewResult define(string dvName, string dvDisplayName, string dvDescription, sequence<string > fieldNames, sequence<string > fieldTypes, sequence<string > keyFields, context mainCtx)The define action that checks all the parameters are valid and creates the Scenario for the Data View.
void deleteAllDataViewItems()Delete all existing DataViewItems from the current DataView.
com.apama.dataview.DataViewResult deleteDataViewItem(integer itemId)Delete an existing DataViewItem from the current DataView.
com.apama.dataview.DataViewResult deleteDataViewItemByKeyFields(sequence<string > keyFields)Delete an existing DataViewItem from the current DataView by matching the supplied key fields.
void emitAcknowledgement(integer messageId, com.apama.dataview._Item item)
void emitNack(integer messageId, integer scenarioInstanceId)
void error(string msg)
sequence<string > getDataViewItem(integer itemId)Retrieve the field values for a DataView item by id.
sequence<string > getDataViewItemByKeyFields(sequence<string > keyFields)Retrieve the field values for a DataView with these key fields.
dictionary<string, integer > getFieldNameToIndex()Retrieve the helper dictionary to facilitate sequence position lookup by field name.
boolean hasDataViewItem(integer itemId)Does a DataView item already exist with this id.
com.apama.dataview.DataViewResult hasDataViewItemByKeyFields(sequence<string > keyFields)Does a DataView item already exist with these key fields.
void info(string msg)
com.apama.dataview.DataViewResult initialise(string dvName, string dvDisplayName, string dvDescription, sequence<string > fieldNames, sequence<string > fieldTypes, sequence<string > keyFields, context mainCtx)The initialisation action that checks all the parameters are valid but DOES NOT create the Scenario for the Data View.
void onSpawn()MUST be called when a DataViewManager is spawned to clear out its instance state and register the context with the ScenarioService.
void setLogLevel(string level)Change the log level.
void undefine()Deletes an existing DataView and unloads the Scenario. This should be called once per DataView and from the same context which defined the DataView.
void uninitialise()Deletes and cleans up the manager WITHOUT unloading the Scenario. This should be called if initialise() was used..
com.apama.dataview.DataViewResult updateDeltaDataViewItem(integer itemId, float timeStamp, dictionary<integer, string > fieldValues)Update a SUBSET of the field values of an existing DataViewItem in the current DataView.
com.apama.dataview.DataViewResult updateDeltaDataViewItemByFieldName(integer itemId, float timeStamp, dictionary<string, string > fieldValues)Update a SUBSET of the field values of an existing DataViewItem in the current DataView.
com.apama.dataview.DataViewResult updateFullDataViewItem(integer itemId, float timeStamp, sequence<string > fieldValues)Update ALL the field values of an existing DataViewItem in the current DataView.
void warn(string msg)
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |