Class CartesianProdAssemblyNodeFactory
java.lang.Object
com.espertech.esper.common.internal.epl.join.assemble.BaseAssemblyNodeFactory
com.espertech.esper.common.internal.epl.join.assemble.CartesianProdAssemblyNodeFactory
- All Implemented Interfaces:
CodegenMakeable<SAIFFInitializeSymbol>
Assembly node for an event stream that is a branch with a two or more child nodes (required and optional) below it.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.join.assemble.BaseAssemblyNodeFactory
childNodes, EPTYPEARRAY, numStreams, parentNode, streamNum
-
Constructor Summary
ConstructorDescriptionCartesianProdAssemblyNodeFactory
(int streamNum, int numStreams, boolean allSubStreamsOptional) Ctor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChild
(BaseAssemblyNodeFactory childNode) Add a child node.make
(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope) void
print
(IndentWriter indentWriter) Output this node using writer, not outputting child nodes.Methods inherited from class com.espertech.esper.common.internal.epl.join.assemble.BaseAssemblyNodeFactory
getChildNodes, getDescendentNodesBottomUp, getParentNode, getStreamNum, printDescendends, setParent
-
Field Details
-
EPTYPE
-
-
Constructor Details
-
CartesianProdAssemblyNodeFactory
public CartesianProdAssemblyNodeFactory(int streamNum, int numStreams, boolean allSubStreamsOptional) Ctor.- Parameters:
streamNum
- - is the stream numbernumStreams
- - is the number of streamsallSubStreamsOptional
- - true if all child nodes to this node are optional, or false if one or more child nodes are required for a result.
-
-
Method Details
-
addChild
Description copied from class:BaseAssemblyNodeFactory
Add a child node.- Overrides:
addChild
in classBaseAssemblyNodeFactory
- Parameters:
childNode
- to add
-
print
Description copied from class:BaseAssemblyNodeFactory
Output this node using writer, not outputting child nodes.- Specified by:
print
in classBaseAssemblyNodeFactory
- Parameters:
indentWriter
- to use for output
-
makeAssemblerUnassociated
- Specified by:
makeAssemblerUnassociated
in classBaseAssemblyNodeFactory
-
make
public CodegenExpression make(CodegenMethodScope parent, SAIFFInitializeSymbol symbols, CodegenClassScope classScope)
-