Query.Util.executeInQuerySession()
Signature
Object executeInQuerySession(String querySessionName, String sqlString, Object mapOfParameters, boolean reuse)
Description
Executes the sql string synchronously in a collocated query agent and returns the results.
Parameters
Name | Type | Description |
querySessionName | String | A valid query session/agent name that has been deployed in the same processing unit. |
sqlString | String | A valid snapshot query sql string. |
mapOfParameters | Object | types. Or, null if there are no bind parameters. |
reuse | boolean | string is automatically registered the first time (Query.Create(sql)). |
Returns
Type | Description |
Object | Return a List of rows. Each row may be a single Object column or an an Object[] of columns. |