Package org.dbos.apiary.function
Class FunctionOutput
java.lang.Object
org.dbos.apiary.function.FunctionOutput
FunctionOutput stores the output of a function. It supports all Apiary function return types.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn anApiaryFutureoutput.getInt()Return anIntegeroutput.int[]Return anIntegerarray output.Return aStringoutput.String[]Return aStringarray output.
-
Field Details
-
output
-
queuedTasks
-
-
Constructor Details
-
FunctionOutput
-
-
Method Details
-
getString
Return aStringoutput. If the output is notString, returnnull.- Returns:
- the
Stringoutput.
-
getInt
Return anIntegeroutput. If the output is notInteger, returnnull.- Returns:
- the
Integeroutput.
-
getStringArray
Return aStringarray output. If the output is notStringarray, returnnull.- Returns:
- the
String[]output.
-
getIntArray
public int[] getIntArray()Return anIntegerarray output. If the output is notIntegerarray, returnnull.- Returns:
- the
Integer[]output.
-
getFuture
- Returns:
- the
ApiaryFutureoutput.
-