org.drools.reteoo.builder
Class DefaultNodeFactory

java.lang.Object
  extended by org.drools.reteoo.builder.DefaultNodeFactory
All Implemented Interfaces:
Serializable, NodeFactory

public class DefaultNodeFactory
extends Object
implements NodeFactory, Serializable

See Also:
Serialized Form

Constructor Summary
DefaultNodeFactory()
           
 
Method Summary
 AlphaNode buildAlphaNode(int id, AlphaNodeFieldConstraint constraint, ObjectSource objectSource, BuildContext context)
           
 BaseNode buildFromNode(int id, DataProvider dataProvider, LeftTupleSource tupleSource, AlphaNodeFieldConstraint[] alphaNodeFieldConstraints, BetaConstraints betaConstraints, boolean tupleMemoryEnabled, BuildContext context, From from)
           
 JoinNode buildJoinNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, BetaConstraints binder, BuildContext context)
           
 LeftInputAdapterNode buildLeftInputAdapterNode(int id, ObjectSource objectSource, BuildContext context)
           
 ObjectTypeNode buildObjectTypeNode(int id, EntryPointNode objectSource, ObjectType objectType, BuildContext context)
           
 QueryElementNode buildQueryElementNode(int id, LeftTupleSource tupleSource, QueryElement qe, boolean tupleMemoryEnabled, boolean openQuery, BuildContext context)
           
 TerminalNode buildQueryTerminalNode(int id, LeftTupleSource source, Rule rule, GroupElement subrule, int subruleIndex, BuildContext context)
           
 TerminalNode buildTerminalNode(int id, LeftTupleSource source, Rule rule, GroupElement subrule, int subruleIndex, BuildContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultNodeFactory

public DefaultNodeFactory()
Method Detail

buildAlphaNode

public AlphaNode buildAlphaNode(int id,
                                AlphaNodeFieldConstraint constraint,
                                ObjectSource objectSource,
                                BuildContext context)
Specified by:
buildAlphaNode in interface NodeFactory

buildTerminalNode

public TerminalNode buildTerminalNode(int id,
                                      LeftTupleSource source,
                                      Rule rule,
                                      GroupElement subrule,
                                      int subruleIndex,
                                      BuildContext context)
Specified by:
buildTerminalNode in interface NodeFactory

buildObjectTypeNode

public ObjectTypeNode buildObjectTypeNode(int id,
                                          EntryPointNode objectSource,
                                          ObjectType objectType,
                                          BuildContext context)
Specified by:
buildObjectTypeNode in interface NodeFactory

buildJoinNode

public JoinNode buildJoinNode(int id,
                              LeftTupleSource leftInput,
                              ObjectSource rightInput,
                              BetaConstraints binder,
                              BuildContext context)
Specified by:
buildJoinNode in interface NodeFactory

buildLeftInputAdapterNode

public LeftInputAdapterNode buildLeftInputAdapterNode(int id,
                                                      ObjectSource objectSource,
                                                      BuildContext context)
Specified by:
buildLeftInputAdapterNode in interface NodeFactory

buildQueryTerminalNode

public TerminalNode buildQueryTerminalNode(int id,
                                           LeftTupleSource source,
                                           Rule rule,
                                           GroupElement subrule,
                                           int subruleIndex,
                                           BuildContext context)
Specified by:
buildQueryTerminalNode in interface NodeFactory

buildQueryElementNode

public QueryElementNode buildQueryElementNode(int id,
                                              LeftTupleSource tupleSource,
                                              QueryElement qe,
                                              boolean tupleMemoryEnabled,
                                              boolean openQuery,
                                              BuildContext context)
Specified by:
buildQueryElementNode in interface NodeFactory

buildFromNode

public BaseNode buildFromNode(int id,
                              DataProvider dataProvider,
                              LeftTupleSource tupleSource,
                              AlphaNodeFieldConstraint[] alphaNodeFieldConstraints,
                              BetaConstraints betaConstraints,
                              boolean tupleMemoryEnabled,
                              BuildContext context,
                              From from)
Specified by:
buildFromNode in interface NodeFactory


Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.