|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.esper.eql.join.assemble.BaseAssemblyNode
net.esper.eql.join.assemble.BranchOptionalAssemblyNode
public class BranchOptionalAssemblyNode
Assembly node for an event stream that is a branch with a single optional child node below it.
Field Summary |
---|
Fields inherited from class net.esper.eql.join.assemble.BaseAssemblyNode |
---|
childNodes, numStreams, parentNode, streamNum |
Constructor Summary | |
---|---|
BranchOptionalAssemblyNode(int streamNum,
int numStreams)
Ctor. |
Method Summary | |
---|---|
void |
init(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(List<Node>[] result)
Process results. |
void |
result(EventBean[] row,
int fromStreamNum,
EventBean myEvent,
Node myNode)
Publish a result row. |
Methods inherited from class net.esper.eql.join.assemble.BaseAssemblyNode |
---|
addChild, getChildNodes, getDescendentNodesBottomUp, getParentAssembler, getStreamNum, getSubstreams, printDescendends, setParentAssembler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BranchOptionalAssemblyNode(int streamNum, int numStreams)
streamNum
- - is the stream numbernumStreams
- - is the number of streamsMethod Detail |
---|
public void init(List<Node>[] result)
BaseAssemblyNode
init
in class BaseAssemblyNode
result
- is a list of result nodes per streampublic void process(List<Node>[] result)
BaseAssemblyNode
process
in class BaseAssemblyNode
result
- is a list of result nodes per streampublic void result(EventBean[] row, int fromStreamNum, EventBean myEvent, Node myNode)
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 resultpublic void print(IndentWriter indentWriter)
BaseAssemblyNode
print
in class BaseAssemblyNode
indentWriter
- to use for output
|
© 2007 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 |