Query.Util.executeInQuerySession()

Signature

Object executeInQuerySession(String querySessionName, String sqlString, Object mapOfParameters, boolean reuse)

Domain

ACTION

Description

Executes the sql string synchronously in a collocated query agent and returns the results.

Parameters

NameTypeDescription
querySessionNameStringA valid query session/agent name that has been deployed in the same processing unit.
sqlStringStringA valid snapshot query sql string.
mapOfParametersObjecttypes. Or, null if there are no bind parameters.
reusebooleanstring is automatically registered the first time (Query.Create(sql)).

Returns

TypeDescription
ObjectReturn a List of rows. Each row may be a single Object column or an an Object[] of columns.

Cautions

none