Function evaluations
The Function client contains three versions of the evaluation method (eval in Java; Eval in C#).
Note: Both the Java and the C# APIs also contain four deprecated evaluation functions. These functions continue to work in this release, so if you have used these in the past, your evaluations will still work. We recommend you use one of the three evaluation functions described below and in their respective API Help topics.
This section addresses the Function client’s evaluation methods in both languages. The following list shows the three evaluation method versions supplied in C#. (Java’s evaluation methods are the same, except for different naming conventions inherent in the language):
SplusDataResult Eval( string functionName, string packageName, Dictionary<string, string[]> args, JobStartup jobStartup SplusDataResult Eval( string functionName, string packageName, SplusDataRequest inputData, JobStartup jobStartup ) SplusDataResult Eval( string functionName, string packageName, BinaryDataRequest inputData, JobStartup jobStartup )
Each of these methods returns an SplusDataResult object, which is described in more detail in Interpret and use returned objects.
Copyright © TIBCO Software Inc. All rights reserved.