public class WarpScriptFunction<T,R> extends WarpScriptAbstractFunction implements org.apache.spark.api.java.function.Function<T,R>
DEFAULT_TIME_UNITS_PER_MS, executor, SIPKEY_SCRIPT, SIPKEY_UUID, WARPSCRIPT_FILE_VARIABLE, WARPSCRIPT_ID_VARIABLE| Constructor and Description |
|---|
WarpScriptFunction(java.lang.String code) |
| Modifier and Type | Method and Description |
|---|---|
R |
call(T v1) |
static WarpScriptFunction |
getInstance(java.lang.String code) |
getExecutor, setCodepublic WarpScriptFunction(java.lang.String code)
throws io.warp10.script.WarpScriptException
io.warp10.script.WarpScriptExceptionpublic static WarpScriptFunction getInstance(java.lang.String code) throws io.warp10.script.WarpScriptException
io.warp10.script.WarpScriptException