Drools :: ReteOO 6.0.0.Final

org.drools.reteoo.nodes
Class ReteQueryTerminalNode

java.lang.Object
  extended by org.drools.core.common.BaseNode
      extended by org.drools.core.reteoo.AbstractTerminalNode
          extended by org.drools.core.reteoo.QueryTerminalNode
              extended by org.drools.reteoo.nodes.ReteQueryTerminalNode
All Implemented Interfaces:
Externalizable, Serializable, org.drools.core.common.MemoryFactory, org.drools.core.common.NetworkNode, org.drools.core.reteoo.LeftTupleSink, org.drools.core.reteoo.LeftTupleSinkNode, org.drools.core.reteoo.Sink, org.drools.core.reteoo.TerminalNode

public class ReteQueryTerminalNode
extends org.drools.core.reteoo.QueryTerminalNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.core.reteoo.QueryTerminalNode
query, type
 
Fields inherited from class org.drools.core.common.BaseNode
associations, id, partitionId, partitionsEnabled, streamMode
 
Constructor Summary
ReteQueryTerminalNode()
           
ReteQueryTerminalNode(int id, org.drools.core.reteoo.LeftTupleSource source, org.drools.core.rule.Rule rule, org.drools.core.rule.GroupElement subrule, int subruleIndex, org.drools.core.reteoo.builder.BuildContext context)
           
 
Method Summary
 void assertLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
           
 void attach(org.drools.core.reteoo.builder.BuildContext context)
           
 void modifyLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
           
 void retractLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
           
 
Methods inherited from class org.drools.core.reteoo.QueryTerminalNode
createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createPeer, getDeclarations, getLeftInputOtnId, getNextLeftTupleSinkNode, getPreviousLeftTupleSinkNode, getQuery, getRule, getSalienceDeclarations, getSubRule, getSubruleIndex, getTimerDeclarations, getType, isFireDirect, isInUse, isLeftTupleMemoryEnabled, networkUpdated, readExternal, setLeftInputOtnId, setLeftTupleMemoryEnabled, setNextLeftTupleSinkNode, setPreviousLeftTupleSinkNode, toString, updateNewNode, writeExternal
 
Methods inherited from class org.drools.core.reteoo.AbstractTerminalNode
createMemory, doRemove, getDeclaredMask, getInferredMask, getLeftInferredMask, getLeftTupleSource, getNegativeMask, initDeclaredMask, initInferredMask, initPathMemory, modifyLeftTuple, setDeclaredMask, setInferredMask, setNegativeMask, unwrapTupleSource
 
Methods inherited from class org.drools.core.common.BaseNode
addAssociation, attach, getAssociations, getId, getPartitionId, hashCode, isStreamMode, remove, removeAssociation, setId, setPartitionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.drools.core.reteoo.LeftTupleSink
getLeftInferredMask, getLeftTupleSource, modifyLeftTuple
 
Methods inherited from interface org.drools.core.common.NetworkNode
getAssociations, getId, getPartitionId
 
Methods inherited from interface org.drools.core.common.MemoryFactory
getId
 

Constructor Detail

ReteQueryTerminalNode

public ReteQueryTerminalNode()

ReteQueryTerminalNode

public ReteQueryTerminalNode(int id,
                             org.drools.core.reteoo.LeftTupleSource source,
                             org.drools.core.rule.Rule rule,
                             org.drools.core.rule.GroupElement subrule,
                             int subruleIndex,
                             org.drools.core.reteoo.builder.BuildContext context)
Method Detail

assertLeftTuple

public void assertLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
                            org.drools.core.spi.PropagationContext context,
                            org.drools.core.common.InternalWorkingMemory workingMemory)
Specified by:
assertLeftTuple in interface org.drools.core.reteoo.LeftTupleSink
Overrides:
assertLeftTuple in class org.drools.core.reteoo.QueryTerminalNode

retractLeftTuple

public void retractLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
                             org.drools.core.spi.PropagationContext context,
                             org.drools.core.common.InternalWorkingMemory workingMemory)
Specified by:
retractLeftTuple in interface org.drools.core.reteoo.LeftTupleSink
Overrides:
retractLeftTuple in class org.drools.core.reteoo.QueryTerminalNode

modifyLeftTuple

public void modifyLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple,
                            org.drools.core.spi.PropagationContext context,
                            org.drools.core.common.InternalWorkingMemory workingMemory)
Specified by:
modifyLeftTuple in interface org.drools.core.reteoo.LeftTupleSink
Overrides:
modifyLeftTuple in class org.drools.core.reteoo.QueryTerminalNode

attach

public void attach(org.drools.core.reteoo.builder.BuildContext context)
Overrides:
attach in class org.drools.core.reteoo.QueryTerminalNode

Drools :: ReteOO 6.0.0.Final

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