|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.espertech.esper.epl.join.assemble.BaseAssemblyNode
com.espertech.esper.epl.join.assemble.BranchRequiredAssemblyNode
public class BranchRequiredAssemblyNode
Assembly node for an event stream that is a branch with a single required child node below it.
Field Summary |
---|
Fields inherited from class com.espertech.esper.epl.join.assemble.BaseAssemblyNode |
---|
childNodes, numStreams, parentNode, streamNum |
Constructor Summary | |
---|---|
BranchRequiredAssemblyNode(int streamNum,
int numStreams)
Ctor. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.espertech.esper.epl.join.assemble.BaseAssemblyNode |
---|
addChild, getChildNodes, getStreamNum, getSubstreams, setParentAssembler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchRequiredAssemblyNode(int streamNum, int numStreams)
streamNum
- - is the stream numbernumStreams
- - is the number of streamsMethod Detail |
---|
public 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 streampublic 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 rowspublic void print(IndentWriter indentWriter)
BaseAssemblyNode
print
in class BaseAssemblyNode
indentWriter
- to use for output
|
© 2006-2015 EsperTech Inc. All rights reserved. Visit us at espertech.com |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |