TIBCO Spotfire Statistics Services Users Guide

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.

Note: To process a binary object returned by an engine, you must have an engine on the client computer where you can load the object for deserialization.

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.