Package org.drools.core.reteoo.builder
Class PhreakNodeFactory
- java.lang.Object
-
- org.drools.core.reteoo.builder.PhreakNodeFactory
-
- All Implemented Interfaces:
Serializable
,NodeFactory
public class PhreakNodeFactory extends Object implements NodeFactory, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhreakNodeFactory()
-
Method Summary
-
-
-
Method Detail
-
getInstance
public static NodeFactory getInstance()
-
buildEntryPointNode
public EntryPointNode buildEntryPointNode(int id, ObjectSource objectSource, BuildContext context)
- Specified by:
buildEntryPointNode
in interfaceNodeFactory
-
buildEntryPointNode
public EntryPointNode buildEntryPointNode(int id, RuleBasePartitionId partitionId, boolean partitionsEnabled, ObjectSource objectSource, EntryPointId entryPoint)
- Specified by:
buildEntryPointNode
in interfaceNodeFactory
-
buildAlphaNode
public AlphaNode buildAlphaNode(int id, AlphaNodeFieldConstraint constraint, ObjectSource objectSource, BuildContext context)
- Specified by:
buildAlphaNode
in interfaceNodeFactory
-
buildTerminalNode
public TerminalNode buildTerminalNode(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context)
- Specified by:
buildTerminalNode
in interfaceNodeFactory
-
buildObjectTypeNode
public ObjectTypeNode buildObjectTypeNode(int id, EntryPointNode objectSource, ObjectType objectType, BuildContext context)
- Specified by:
buildObjectTypeNode
in interfaceNodeFactory
-
buildEvalNode
public EvalConditionNode buildEvalNode(int id, LeftTupleSource tupleSource, EvalCondition eval, BuildContext context)
- Specified by:
buildEvalNode
in interfaceNodeFactory
-
buildRightInputNode
public RightInputAdapterNode buildRightInputNode(int id, LeftTupleSource leftInput, LeftTupleSource startTupleSource, BuildContext context)
- Specified by:
buildRightInputNode
in interfaceNodeFactory
-
buildJoinNode
public JoinNode buildJoinNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, BetaConstraints binder, BuildContext context)
- Specified by:
buildJoinNode
in interfaceNodeFactory
-
buildNotNode
public NotNode buildNotNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, BetaConstraints binder, BuildContext context)
- Specified by:
buildNotNode
in interfaceNodeFactory
-
buildExistsNode
public ExistsNode buildExistsNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, BetaConstraints binder, BuildContext context)
- Specified by:
buildExistsNode
in interfaceNodeFactory
-
buildAccumulateNode
public AccumulateNode buildAccumulateNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, AlphaNodeFieldConstraint[] resultConstraints, BetaConstraints sourceBinder, BetaConstraints resultBinder, Accumulate accumulate, BuildContext context)
- Specified by:
buildAccumulateNode
in interfaceNodeFactory
-
buildLeftInputAdapterNode
public LeftInputAdapterNode buildLeftInputAdapterNode(int id, ObjectSource objectSource, BuildContext context, boolean terminal)
- Specified by:
buildLeftInputAdapterNode
in interfaceNodeFactory
-
buildQueryTerminalNode
public TerminalNode buildQueryTerminalNode(int id, LeftTupleSource source, RuleImpl rule, GroupElement subrule, int subruleIndex, BuildContext context)
- Specified by:
buildQueryTerminalNode
in interfaceNodeFactory
-
buildQueryElementNode
public QueryElementNode buildQueryElementNode(int id, LeftTupleSource tupleSource, QueryElement qe, boolean tupleMemoryEnabled, boolean openQuery, BuildContext context)
- Specified by:
buildQueryElementNode
in interfaceNodeFactory
-
buildFromNode
public FromNode buildFromNode(int id, DataProvider dataProvider, LeftTupleSource tupleSource, AlphaNodeFieldConstraint[] alphaNodeFieldConstraints, BetaConstraints betaConstraints, boolean tupleMemoryEnabled, BuildContext context, From from)
- Specified by:
buildFromNode
in interfaceNodeFactory
-
buildReactiveFromNode
public ReactiveFromNode buildReactiveFromNode(int id, DataProvider dataProvider, LeftTupleSource tupleSource, AlphaNodeFieldConstraint[] alphaNodeFieldConstraints, BetaConstraints betaConstraints, boolean tupleMemoryEnabled, BuildContext context, From from)
- Specified by:
buildReactiveFromNode
in interfaceNodeFactory
-
buildTimerNode
public TimerNode buildTimerNode(int id, Timer timer, String[] calendarNames, Declaration[][] declarations, LeftTupleSource tupleSource, BuildContext context)
- Specified by:
buildTimerNode
in interfaceNodeFactory
-
buildConditionalBranchNode
public ConditionalBranchNode buildConditionalBranchNode(int id, LeftTupleSource tupleSource, ConditionalBranchEvaluator branchEvaluator, BuildContext context)
- Specified by:
buildConditionalBranchNode
in interfaceNodeFactory
-
buildWindowNode
public WindowNode buildWindowNode(int id, List<AlphaNodeFieldConstraint> constraints, List<Behavior> behaviors, ObjectSource objectSource, BuildContext context)
- Specified by:
buildWindowNode
in interfaceNodeFactory
-
buildAsyncSendNode
public AsyncSendNode buildAsyncSendNode(int id, DataProvider dataProvider, LeftTupleSource tupleSource, AlphaNodeFieldConstraint[] alphaNodeFieldConstraints, BetaConstraints betaConstraints, boolean tupleMemoryEnabled, BuildContext context, AsyncSend send)
- Specified by:
buildAsyncSendNode
in interfaceNodeFactory
-
buildAsyncReceiveNode
public AsyncReceiveNode buildAsyncReceiveNode(int id, AsyncReceive receive, LeftTupleSource tupleSource, AlphaNodeFieldConstraint[] alphaNodeFieldConstraints, BetaConstraints betaConstraints, BuildContext context)
- Specified by:
buildAsyncReceiveNode
in interfaceNodeFactory
-
-