public class SubBatch
extends java.lang.Object
subBatch
in a batch blockConstructor and Description |
---|
SubBatch(Block batchBlock,
java.lang.String... outputVars)
Create a subbatch with the given code and specified output vars
|
Modifier and Type | Method and Description |
---|---|
Block |
getBlock() |
java.util.List<clojure.lang.Symbol> |
getOutputs() |
static SubBatch |
staticData(java.util.List<java.lang.Object> data)
Create a subbatch that emits the provided data.
|
public SubBatch(Block batchBlock, java.lang.String... outputVars)
batchBlock
- Code for subbatchoutputVars
- Output vars that must be in scope at end of subbatch codepublic static SubBatch staticData(java.util.List<java.lang.Object> data)
data
- List of objects to emit. Each element of list is emitted separatelypublic java.util.List<clojure.lang.Symbol> getOutputs()
public Block getBlock()