Perform the function or predicate using an array of terms as parameters.
the result of the perform operation Parameters: parameter - an array of terms Parameters: session - a session object throws: java.lang.UnsupportedOperationException - thrown if this constructor does not have a sematics and this operation cannot be supported throws: java.lang.IllegalArgumentException -