FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |
Constant summary | |
---|---|
string | ADBC_NULL := "ADBC_NULL"
Constant for param type ADBC_NULL. |
string | HISTORICAL := "Historical"
Constant for return type Historical. |
string | NATIVE := "Native"
Constant for return type Native. |
string | RESULT_EVENT := "ResultEvent"
Constant for return type ResultEvent. |
string | RESULT_EVENT_HETERO := "ResultEventHetero"
Constant for return type ResultEventHetero. |
Action summary | |
---|---|
string |
getBatchDoneToken()
Retrieves the token that has been assigned to the batchDone callback action.
|
integer |
getId()
Returns the mesageId of the query. |
void |
getNextBatch(integer batchSize)
Retrieve the next batch of results. |
void |
getNextBatchFull(float statusFrequency, integer batchSize, boolean batchSizeIncludesTimeEvents, float backtestSpeed, float runUntilTime, dictionary<string, string> extraParams)
Retrieve the next batch of results.This action allows you to pass in any extra parameters. |
string |
getQueryResultToken()
Retrieves the token that has been assigned to the queryResult callback action.
|
void |
initNamedQuery(com.apama.database.Connection conn, string templateName, dictionary<string, string> parameters)
Initialize the named query with the template name and template paramteres for this database. |
void |
initPreparedQuery(com.apama.database.PreparedQuery preparedQuery)
Initialize the prepared query with pre-created instance of a prepared query. |
void |
initPreSpawnContext(context preSpawnContext)
Set context that is current prior to spawning. |
void |
initQuery(com.apama.database.Connection conn, string queryString)
Initialize the query with the query string for this database. |
void |
makeBacktest(float backtestSpeed)
Set the query results to be back-testable in the data player. |
void |
onBeginRecovery()
OnBeginRecovery is called after all objects and listeners of persistent monitors have been recovered and before queued events are processed. |
void |
onConcludeRecovery()
OnConcludeRecovery is called after the recovery process has been completed, including all non persistent monitors having being re-loaded. |
void |
pause()
Pause the query. |
void |
pauseFull(dictionary<string, string> extraParams)
Pauses the running query. |
void |
reset()
Reset the state of this query. |
void |
setBatchDoneCallback(string token, action<com.apama.database.Query, string, integer, float, string, string> callback)
Set the callback action to handle batch done notifications. |
void |
setBatchSize(integer batchSize)
Set the Batch Size If the query will return a large number of results. |
void |
setEventType(string eventType)
Set the eventType when it is an event query. |
void |
setExtraParams(dictionary<string, string> extra)
Additional parameters for the query. |
void |
setInputParams(sequence<string> inputParams)
Set the input parameters for this query. This should be set when using a prepared query. |
void |
setResultEventCallback(string token, action<com.apama.database.Query, com.apama.database.ResultEvent, string> callback)
Set the callback action to handle result event notifications. |
void |
setReturnType(string returnType)
Set the return type based using the constants provided. |
void |
setRunUntilTime(float runUntilTime)
The following action has been added for running playback queries.
|
void |
setSchemaCallback(action<sequence<string>, dictionary<string, string>, sequence<string>> callback)
Set the callback action to handle schema notifications. |
void |
setStatusCallback(float statusFreq, action<integer, float> callback)
Set the callback action to handle status notifications. |
void |
setTimeColumn(string timeColumn)
If the return type is Native specify the database table column that stores the event's timestamp. |
void |
start(action<com.apama.database.Query, string, integer, float> callback)
Start the execution of this query, with information passed in using set and init actions. |
boolean |
stop()
Stops the running query. |
boolean |
stopFull(dictionary<string, string> extraParams)
Stops the running query.This action allows you to pass in any extra parameters. |
Constant detail |
---|
string ADBC_NULL := "ADBC_NULL"Constant for param type ADBC_NULL.
string HISTORICAL := "Historical"Constant for return type Historical.
string NATIVE := "Native"Constant for return type Native.
string RESULT_EVENT := "ResultEvent"Constant for return type ResultEvent.
string RESULT_EVENT_HETERO := "ResultEventHetero"Constant for return type ResultEventHetero.
Action detail |
---|
string getBatchDoneToken()
integer getId()Returns the mesageId of the query.
void getNextBatch(integer batchSize)Retrieve the next batch of results.
void getNextBatchFull(float statusFrequency, integer batchSize, boolean batchSizeIncludesTimeEvents, float backtestSpeed, float runUntilTime, dictionary<string, string> extraParams)Retrieve the next batch of results.This action allows you to pass in any extra parameters.
string getQueryResultToken()
void initNamedQuery(com.apama.database.Connection conn, string templateName, dictionary<string, string> parameters)Initialize the named query with the template name and template paramteres for this database.
void initPreparedQuery(com.apama.database.PreparedQuery preparedQuery)Initialize the prepared query with pre-created instance of a prepared query.
void initPreSpawnContext(context preSpawnContext)Set context that is current prior to spawning.
void initQuery(com.apama.database.Connection conn, string queryString)Initialize the query with the query string for this database.
void makeBacktest(float backtestSpeed)Set the query results to be back-testable in the data player.
void onBeginRecovery()OnBeginRecovery is called after all objects and listeners of persistent monitors have been recovered and before queued events are processed.
void onConcludeRecovery()OnConcludeRecovery is called after the recovery process has been completed, including all non persistent monitors having being re-loaded.
void pause()Pause the query.
void pauseFull(dictionary<string, string> extraParams)Pauses the running query.
void reset()Reset the state of this query.
void setBatchDoneCallback(string token, action<com.apama.database.Query, string, integer, float, string, string> callback)Set the callback action to handle batch done notifications.
void setBatchSize(integer batchSize)Set the Batch Size If the query will return a large number of results.
void setEventType(string eventType)Set the eventType when it is an event query.
void setExtraParams(dictionary<string, string> extra)Additional parameters for the query.
void setInputParams(sequence<string> inputParams)Set the input parameters for this query. This should be set when using a prepared query.
void setResultEventCallback(string token, action<com.apama.database.Query, com.apama.database.ResultEvent, string> callback)Set the callback action to handle result event notifications.
void setReturnType(string returnType)Set the return type based using the constants provided.
void setRunUntilTime(float runUntilTime)
void setSchemaCallback(action<sequence<string>, dictionary<string, string>, sequence<string>> callback)Set the callback action to handle schema notifications.
void setStatusCallback(float statusFreq, action<integer, float> callback)Set the callback action to handle status notifications.
void setTimeColumn(string timeColumn)If the return type is Native specify the database table column that stores the event's timestamp.
void start(action<com.apama.database.Query, string, integer, float> callback)Start the execution of this query, with information passed in using set and init actions.
boolean stop()Stops the running query.
boolean stopFull(dictionary<string, string> extraParams)Stops the running query.This action allows you to pass in any extra parameters.
FRAMES NO FRAMES | |||||||
| |||||||
SUMMARY: IMPORT | CONSTANT | MEMBER | ACTION | DETAIL: IMPORT | CONSTANT | MEMBER | ACTION |