public class RootRequiredAssemblyNode extends BaseAssemblyNode
childNodes, numStreams, parentNode, streamNum
Constructor and Description |
---|
RootRequiredAssemblyNode(int streamNum,
int numStreams)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
void |
init(java.util.List<Node>[] result)
Provides results to assembly nodes for initialization.
|
void |
print(IndentWriter indentWriter)
Output this node using writer, not outputting child nodes.
|
void |
process(java.util.List<Node>[] result,
java.util.Collection<EventBean[]> resultFinalRows,
EventBean resultRootEvent)
Process results.
|
void |
result(EventBean[] row,
int fromStreamNum,
EventBean myEvent,
Node myNode,
java.util.Collection<EventBean[]> resultFinalRows,
EventBean resultRootEvent)
Publish a result row.
|
addChild, getChildNodes, getStreamNum, getSubstreams, setParentAssembler
public RootRequiredAssemblyNode(int streamNum, int numStreams)
streamNum
- - is the stream numbernumStreams
- - is the number of streamspublic void init(java.util.List<Node>[] result)
BaseAssemblyNode
init
in class BaseAssemblyNode
result
- is a list of result nodes per streampublic void process(java.util.List<Node>[] result, java.util.Collection<EventBean[]> resultFinalRows, EventBean resultRootEvent)
BaseAssemblyNode
process
in class BaseAssemblyNode
result
- is a list of result nodes per streamresultFinalRows
- final row collectionresultRootEvent
- root eventpublic void result(EventBean[] row, int fromStreamNum, EventBean myEvent, Node myNode, java.util.Collection<EventBean[]> resultFinalRows, EventBean resultRootEvent)
ResultAssembler
row
- is the result to publishfromStreamNum
- is the originitor that publishes the rowmyEvent
- is optional and is the event that led to the row resultmyNode
- is optional and is the result node of the event that led to the row resultresultFinalRows
- is the final result rowsresultRootEvent
- root eventpublic void print(IndentWriter indentWriter)
BaseAssemblyNode
print
in class BaseAssemblyNode
indentWriter
- to use for output