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 anApiaryFuture
output.getInt()
Return anInteger
output.int[]
Return anInteger
array output.Return aString
output.String[]
Return aString
array output.
-
Field Details
-
output
-
queuedTasks
-
-
Constructor Details
-
FunctionOutput
-
-
Method Details
-
getString
Return aString
output. If the output is notString
, returnnull
.- Returns:
- the
String
output.
-
getInt
Return anInteger
output. If the output is notInteger
, returnnull
.- Returns:
- the
Integer
output.
-
getStringArray
Return aString
array output. If the output is notString
array, returnnull
.- Returns:
- the
String[]
output.
-
getIntArray
public int[] getIntArray()Return anInteger
array output. If the output is notInteger
array, returnnull
.- Returns:
- the
Integer[]
output.
-
getFuture
- Returns:
- the
ApiaryFuture
output.
-