public interface RenjinResult
extends java.io.Serializable
RenjinTask.execute(). A result instance can be queried
to determine success or failure of a task execution.
On success, the task result data is made available
on the output() method. On failure,
the cause of the failure can be determined by querying
the error() and
cause() methods respectively. The
original data inputs on the RenjinTask are made
available on the input() method.| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
cause()
Returns cause of error on task execution failure.
|
java.lang.String |
error()
Returns error message on task execution failure.
|
java.util.Map<java.lang.String,java.lang.Object> |
input()
Returns data inputs passed on task execution.
|
org.renjin.sexp.SEXP |
output()
Returns data outputs generated on task execution.
|
boolean |
success()
Returns status of task execution.
|
long |
timeTaken()
Returns approximate time taken (ms) by task execution.
|
boolean success()
java.lang.String error()
java.lang.Throwable cause()
long timeTaken()
java.util.Map<java.lang.String,java.lang.Object> input()
org.renjin.sexp.SEXP output()