com.apama.database
Event CreatePreparedQuery


Sent to adapter to create a prepared (reusable) database query.

See also: PreparedQueryAck()

Response event: PreparedQueryAck(); errorMessage is blank on success, or otherwise a description of the error.
Member summary
 integermessageId

Unique id for this query.
 stringserviceId

The serviceId this prepared query is to be created on.
 integerdatabaseId

The database connection id.
 stringquery

Prepared query to create.
 sequence<string>inputParamTypes

Optional input parameter types for prepared queries or stored procedures.
 sequence<string>outputParamTypes

Optional output parameter types for stored procedures.
 dictionary<stringstring>extraParams

This is currently a container to allow additional information in the future.
 
Member detail

databaseId

            integer databaseId
        
The database connection id.

extraParams

            dictionary<stringstringextraParams
        
This is currently a container to allow additional information in the future.

inputParamTypes

            sequence<stringinputParamTypes
        
Optional input parameter types for prepared queries or stored procedures.

messageId

            integer messageId
        
Unique id for this query.

outputParamTypes

            sequence<stringoutputParamTypes
        
Optional output parameter types for stored procedures.

query

            string query
        
Prepared query to create.

serviceId

            string serviceId
        
The serviceId this prepared query is to be created on.