The SplusDataResult object
The
SplusDataResult
object belongs to the domain package (Java) /Domain namespace (C#). Domain contains objects, classes, and data types, enums, and delegates that the Administration, Function, and Expression client interfaces use.
The
SplusDataResult
can be a Domain object (an SPXML representation of an R language object), or it can contain a binary object, depending on the data
SerializationType
property set in the data request, and the engine type that processes the result.
You can examine the results of an evaluation by calling
getJobDetails
(or, in C#
GetJobDetails
), which returns the job’s
SplusDataResult
object.
A completed job’s
SplusDataResult
object contains the resulting Domain object, as well as properties describing the job, such as:
- The server XML version.
- Whether the job has a return value, text output, an error, or warnings.
- The user name of the person who created the job (if supplied).
- The date and time the job was created and scheduled or run.
- Elapsed time to run the job, as well as other time-related job and server properties.
- The job identifier.
- The job status (completed, in this case).
- The server instance (if your job ran in a clustered environment).
- A representation of the function or expression that was run (for example,
sqrt(256)
).
An unfinished job immediately returns these properties without a resulting Domain object.
For more information about your particular API and its objects, methods, functions, and properties, see its corresponding help file. A documentation list available on the server landing page (http://servername:port/service_name) can help direct you to the appropriate API help.
- The Data Results XML
A request submitted via the URL API will return anSplusDataResult
object, represented as an XML structure. - The SplusObject
An R object is represented in the Java and C# APIs as anSplusObject
class. An R object is returned as part of a non-binary object, represented in XML as an SPXML structure. (Supported binary formats, such as SBDF are handled differently.)
- The Data Results XML
A request submitted via the URL API will return anSplusDataResult
object, represented as an XML structure. - The SplusObject
An R object is represented in the Java and C# APIs as anSplusObject
class. An R object is returned as part of a non-binary object, represented in XML as an SPXML structure. (Supported binary formats, such as SBDF are handled differently.)