Package org.drools.core.reteoo
Class NotNode
java.lang.Object
org.drools.core.common.BaseNode
org.drools.core.reteoo.LeftTupleSource
org.drools.core.reteoo.BetaNode
org.drools.core.reteoo.NotNode
- All Implemented Interfaces:
Serializable,NetworkNode,MemoryFactory,LeftTupleNode,LeftTupleSink,LeftTupleSinkNode,ObjectSink,ObjectSinkNode,RightTupleSink,Sink
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.drools.core.reteoo.BetaNode
BetaNode.RightTupleSinkAdapter -
Field Summary
Fields inherited from class org.drools.core.reteoo.BetaNode
constraints, indexedUnificationJoin, isLogTraceEnabled, log, objectMemory, rightInput, rightInputIsRiaNode, tupleMemoryEnabledFields inherited from class org.drools.core.reteoo.LeftTupleSource
leftDeclaredMask, leftInferredMask, leftInput, leftNegativeMask, sinkFields inherited from class org.drools.core.common.BaseNode
associations, hashcode, id, memoryId, partitionId -
Constructor Summary
ConstructorsConstructorDescriptionNotNode()NotNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, BetaConstraints joinNodeBinder, BuildContext context) -
Method Summary
Modifier and TypeMethodDescriptionvoidassertObject(InternalFactHandle factHandle, PropagationContext pctx, ReteEvaluator reteEvaluator) voiddoDeleteRightTuple(TupleImpl rightTuple, ReteEvaluator reteEvaluator, BetaMemory memory) booleandoRemove(RuleRemovalContext context, ReteooBuilder builder) Removes the node from the network.intgetType()booleanbooleanvoidmodifyRightTuple(TupleImpl rightTuple, PropagationContext context, ReteEvaluator reteEvaluator) protected voidreorderRightTuple(ReteEvaluator reteEvaluator, TupleImpl rightTuple) voidretractRightTuple(TupleImpl rightTuple, PropagationContext pctx, ReteEvaluator reteEvaluator) voidsetEmptyBetaConstraints(boolean emptyBetaConstraints) toString()Methods inherited from class org.drools.core.reteoo.BetaNode
byPassModifyToBetaNode, calculateHashCode, createMemory, createRightTuple, doAttach, doUpdateRightTuple, equals, getBetaMemory, getBetaMemoryFromRightInput, getConstraints, getFirstLeftTuple, getFirstRightTuple, getFirstTuple, getLeftIterator, getNextLeftTupleSinkNode, getNextObjectSinkNode, getObjectTypeNode, getPreviousLeftTupleSinkNode, getPreviousObjectSinkNode, getRawConstraints, getRightDeclaredMask, getRightInferredMask, getRightInput, getRightInputOtnId, getRightIterator, getRightNegativeMask, getRules, getStartTuple, initDeclaredMask, initInferredMask, initInferredMask, isIndexedUnificationJoin, isLeftTupleMemoryEnabled, isObjectMemoryEnabled, isRightInputIsRiaNode, isRightInputPassive, modifyObject, networkUpdated, setLeftListenedProperties, setNextLeftTupleSinkNode, setNextObjectSinkNode, setPartitionId, setPreviousLeftTupleSinkNode, setPreviousObjectSinkNode, setRightInput, setRightInputOtnId, unwrapRightInputMethods inherited from class org.drools.core.reteoo.LeftTupleSource
addTupleSink, addTupleSink, addTupleSink, getFirstLeftTupleSinkIgnoreRemoving, getLeftDeclaredMask, getLeftInferredMask, getLeftInputOtnId, getLeftInputPattern, getLeftNegativeMask, getLeftTupleSource, getObjectCount, getObjectType, getObjectTypeForPropertyReactivity, getPathIndex, getSinkPropagator, initMasks, isInUse, removeTupleSink, setLeftInferredMask, setLeftInputOtnId, setLeftTupleSource, setNodeConstraintsPropertyReactiveMask, setObjectCount, setPartitionIdWithSinks, setSourcePartitionId, setSourcePartitionIdMethods inherited from class org.drools.core.common.BaseNode
addAssociatedTerminal, addAssociation, addAssociation, attach, getAssociatedRules, getAssociatedTerminalsSize, getAssociationsSize, getId, getMemoryId, getPartitionId, getSinks, hasAssociatedTerminal, hashCode, initMemoryId, isAssociatedWith, isStreamMode, remove, removeAssociatedTerminal, removeAssociation, setId, setStreamModeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.drools.core.reteoo.LeftTupleNode
getLeftTupleSource, getObjectCount, getPathIndex, getSinkPropagator, setObjectCountMethods inherited from interface org.drools.core.reteoo.LeftTupleSink
getLeftInferredMask, getLeftInputOtnId, setLeftInputOtnId, setPartitionIdWithSinksMethods inherited from interface org.drools.core.common.MemoryFactory
getMemoryIdMethods inherited from interface org.drools.base.common.NetworkNode
addAssociatedTerminal, getAssociatedRules, getAssociatedTerminalsSize, getId, getPartitionId, getSinks, hasAssociatedTerminal, isAssociatedWith, removeAssociatedTerminalMethods inherited from interface org.drools.core.reteoo.ObjectSinkNode
setPartitionIdWithSinks
-
Constructor Details
-
NotNode
public NotNode() -
NotNode
public NotNode(int id, LeftTupleSource leftInput, ObjectSource rightInput, BetaConstraints joinNodeBinder, BuildContext context)
-
-
Method Details
-
reorderRightTuple
- Overrides:
reorderRightTuplein classBetaNode
-
isEmptyBetaConstraints
public boolean isEmptyBetaConstraints() -
setEmptyBetaConstraints
public void setEmptyBetaConstraints(boolean emptyBetaConstraints) -
getType
public int getType()- Specified by:
getTypein interfaceNetworkNode- Specified by:
getTypein classLeftTupleSource
-
toString
-
assertObject
public void assertObject(InternalFactHandle factHandle, PropagationContext pctx, ReteEvaluator reteEvaluator) - Specified by:
assertObjectin interfaceObjectSink- Overrides:
assertObjectin classBetaNode
-
retractRightTuple
public void retractRightTuple(TupleImpl rightTuple, PropagationContext pctx, ReteEvaluator reteEvaluator) -
doDeleteRightTuple
public void doDeleteRightTuple(TupleImpl rightTuple, ReteEvaluator reteEvaluator, BetaMemory memory) - Overrides:
doDeleteRightTuplein classBetaNode
-
modifyRightTuple
public void modifyRightTuple(TupleImpl rightTuple, PropagationContext context, ReteEvaluator reteEvaluator) -
doRemove
Description copied from class:BaseNodeRemoves the node from the network. Usually from the parentObjectSourceorTupleSource -
isLeftUpdateOptimizationAllowed
public boolean isLeftUpdateOptimizationAllowed()
-