org.drools.reteoo
Class EmptyLeftTupleSinkAdapter

java.lang.Object
  extended by org.drools.reteoo.AbstractLeftTupleSinkAdapter
      extended by org.drools.reteoo.EmptyLeftTupleSinkAdapter
All Implemented Interfaces:
Externalizable, Serializable, LeftTupleSinkPropagator

public class EmptyLeftTupleSinkAdapter
extends AbstractLeftTupleSinkAdapter

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.reteoo.AbstractLeftTupleSinkAdapter
partitionId
 
Constructor Summary
EmptyLeftTupleSinkAdapter()
           
 
Method Summary
 void createAndPropagateAssertLeftTuple(InternalFactHandle factHandle, PropagationContext context, InternalWorkingMemory workingMemory, boolean leftTupleMemoryEnabled, LeftInputAdapterNode liaNode)
           
 void createChildLeftTuplesforQuery(LeftTuple leftTuple, RightTuple rightTuple, boolean leftTupleMemoryEnabled)
           
 void createChildLeftTuplesforQuery(LeftTuple leftTuple, RightTuple rightTuple, boolean leftTupleMemoryEnabled, boolean linkRightTuple)
           
 void doPropagateAssertLeftTuple(PropagationContext context, InternalWorkingMemory workingMemory, LeftTuple leftTuple, LeftTupleSink sink)
           
static EmptyLeftTupleSinkAdapter getInstance()
           
 BaseNode getMatchingNode(BaseNode candidate)
           
 LeftTupleSink[] getSinks()
           
 void modifyChildLeftTuplesforQuery(RightTuple rightTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void propagateAssertLeftTuple(LeftTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory, boolean leftTupleMemoryEnabled)
           
 void propagateAssertLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTuple currentLeftChild, LeftTuple currentRightChild, PropagationContext context, InternalWorkingMemory workingMemory, boolean leftTupleMemoryEnabled)
           
 LeftTuple propagateModifyChildLeftTuple(LeftTuple childLeftTuple, LeftTuple parentLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory, boolean tupleMemoryEnabled)
           
 void propagateModifyChildLeftTuple(LeftTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory, boolean tupleMemoryEnabled)
           
 LeftTuple propagateModifyChildLeftTuple(LeftTuple childLeftTuple, RightTuple parentRightTuple, PropagationContext context, InternalWorkingMemory workingMemory, boolean tupleMemoryEnabled)
           
 void propagateModifyObject(InternalFactHandle factHandle, ModifyPreviousTuples modifyPreviousTuples, PropagationContext context, InternalWorkingMemory workingMemory)
           
 LeftTuple propagateRetractChildLeftTuple(LeftTuple childLeftTuple, LeftTuple parentLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 LeftTuple propagateRetractChildLeftTuple(LeftTuple childLeftTuple, RightTuple parentRightTuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void propagateRetractLeftTuple(LeftTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void propagateRetractLeftTupleDestroyRightTuple(LeftTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void propagateRetractRightTuple(RightTuple tuple, PropagationContext context, InternalWorkingMemory workingMemory)
           
 void readExternal(ObjectInput in)
           
 int size()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class org.drools.reteoo.AbstractLeftTupleSinkAdapter
getPartitionId, setPartitionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyLeftTupleSinkAdapter

public EmptyLeftTupleSinkAdapter()
Method Detail

getInstance

public static final EmptyLeftTupleSinkAdapter getInstance()

propagateAssertLeftTuple

public void propagateAssertLeftTuple(LeftTuple leftTuple,
                                     RightTuple rightTuple,
                                     LeftTuple currentLeftChild,
                                     LeftTuple currentRightChild,
                                     PropagationContext context,
                                     InternalWorkingMemory workingMemory,
                                     boolean leftTupleMemoryEnabled)

propagateAssertLeftTuple

public void propagateAssertLeftTuple(LeftTuple tuple,
                                     PropagationContext context,
                                     InternalWorkingMemory workingMemory,
                                     boolean leftTupleMemoryEnabled)

createAndPropagateAssertLeftTuple

public void createAndPropagateAssertLeftTuple(InternalFactHandle factHandle,
                                              PropagationContext context,
                                              InternalWorkingMemory workingMemory,
                                              boolean leftTupleMemoryEnabled,
                                              LeftInputAdapterNode liaNode)

propagateRetractLeftTuple

public void propagateRetractLeftTuple(LeftTuple tuple,
                                      PropagationContext context,
                                      InternalWorkingMemory workingMemory)

propagateRetractRightTuple

public void propagateRetractRightTuple(RightTuple tuple,
                                       PropagationContext context,
                                       InternalWorkingMemory workingMemory)

getMatchingNode

public BaseNode getMatchingNode(BaseNode candidate)

propagateRetractLeftTupleDestroyRightTuple

public void propagateRetractLeftTupleDestroyRightTuple(LeftTuple tuple,
                                                       PropagationContext context,
                                                       InternalWorkingMemory workingMemory)

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Overrides:
readExternal in class AbstractLeftTupleSinkAdapter
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Overrides:
writeExternal in class AbstractLeftTupleSinkAdapter
Throws:
IOException

getSinks

public LeftTupleSink[] getSinks()

size

public int size()

propagateModifyChildLeftTuple

public LeftTuple propagateModifyChildLeftTuple(LeftTuple childLeftTuple,
                                               RightTuple parentRightTuple,
                                               PropagationContext context,
                                               InternalWorkingMemory workingMemory,
                                               boolean tupleMemoryEnabled)

propagateModifyChildLeftTuple

public LeftTuple propagateModifyChildLeftTuple(LeftTuple childLeftTuple,
                                               LeftTuple parentLeftTuple,
                                               PropagationContext context,
                                               InternalWorkingMemory workingMemory,
                                               boolean tupleMemoryEnabled)

propagateRetractChildLeftTuple

public LeftTuple propagateRetractChildLeftTuple(LeftTuple childLeftTuple,
                                                RightTuple parentRightTuple,
                                                PropagationContext context,
                                                InternalWorkingMemory workingMemory)

propagateRetractChildLeftTuple

public LeftTuple propagateRetractChildLeftTuple(LeftTuple childLeftTuple,
                                                LeftTuple parentLeftTuple,
                                                PropagationContext context,
                                                InternalWorkingMemory workingMemory)

propagateModifyChildLeftTuple

public void propagateModifyChildLeftTuple(LeftTuple leftTuple,
                                          PropagationContext context,
                                          InternalWorkingMemory workingMemory,
                                          boolean tupleMemoryEnabled)

propagateModifyObject

public void propagateModifyObject(InternalFactHandle factHandle,
                                  ModifyPreviousTuples modifyPreviousTuples,
                                  PropagationContext context,
                                  InternalWorkingMemory workingMemory)

createChildLeftTuplesforQuery

public void createChildLeftTuplesforQuery(LeftTuple leftTuple,
                                          RightTuple rightTuple,
                                          boolean leftTupleMemoryEnabled)

doPropagateAssertLeftTuple

public void doPropagateAssertLeftTuple(PropagationContext context,
                                       InternalWorkingMemory workingMemory,
                                       LeftTuple leftTuple,
                                       LeftTupleSink sink)

createChildLeftTuplesforQuery

public void createChildLeftTuplesforQuery(LeftTuple leftTuple,
                                          RightTuple rightTuple,
                                          boolean leftTupleMemoryEnabled,
                                          boolean linkRightTuple)

modifyChildLeftTuplesforQuery

public void modifyChildLeftTuplesforQuery(RightTuple rightTuple,
                                          PropagationContext context,
                                          InternalWorkingMemory workingMemory)


Copyright © 2001-2013 JBoss Inc.. All Rights Reserved.