Query.Util

Description

Query utility functions.

Functions

NameSignature and Synopsis
addToListint addToList(Object list, Object item)
Adds the given item into the list.
clearListvoid clearList(Object list)
Removes all the elements in the list.
invokeFunctionInQuerySessionObject invokeFunctionInQuerySession(String querySessionName, String queryRuleFunctionUri, Object[] parameters)
Invokes a rule function in another query session/agent whose name is given along with the parameters.
listToArrayObject[] listToArray(Object list)
Copies the list contents by reference to a new array.
newArrayObject[] newArray(int length)
Creates an Object array.
newListObject newList()
Creates a new List.
removeFromListObject removeFromList(Object list, int index)
Removes the element at the given position in the list.
sizeOfListint sizeOfList(Object list)
Returns the size/length of the given list.