Class RootCartProdAssemblyNodeFactory
java.lang.Object
com.espertech.esper.common.internal.epl.join.assemble.BaseAssemblyNodeFactory
com.espertech.esper.common.internal.epl.join.assemble.RootCartProdAssemblyNodeFactory
- All Implemented Interfaces:
CodegenMakeable<SAIFFInitializeSymbol>
Assembly factory node for an event stream that is a root with a two or more child nodes below it.
-
Field Summary
Fields inherited from class com.espertech.esper.common.internal.epl.join.assemble.BaseAssemblyNodeFactory
childNodes, EPTYPEARRAY, numStreams, parentNode, streamNum
-
Constructor Summary
ConstructorDescriptionRootCartProdAssemblyNodeFactory
(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
-
RootCartProdAssemblyNodeFactory
public RootCartProdAssemblyNodeFactory(int streamNum, int numStreams, boolean allSubStreamsOptional) Ctor.- Parameters:
streamNum
- - is the stream numbernumStreams
- - is the number of streamsallSubStreamsOptional
- - true if all substreams are optional and none are required
-
-
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)
-