Class ExistsNode

  • All Implemented Interfaces:
    java.io.Serializable, org.drools.base.common.NetworkNode, MemoryFactory, LeftTupleNode, LeftTupleSink, LeftTupleSinkNode, ObjectSink, ObjectSinkNode, RightTupleSink, Sink

    public class ExistsNode
    extends BetaNode
    ExistsNode extends BetaNode to perform tests for the existence of a Fact plus one or more conditions. Where existence is found the left ReteTuple is copied and propagated. Further to this it maintains the "truth" by canceling any Activations that are no longer considered true by the retraction of ReteTuple's or FactHandleImpl. Tuples are considered to be asserted from the left input and facts from the right input. The BetaNode provides the BetaMemory to store asserted ReteTuples and FactHandleImpls. Each fact handle is stored in the right memory.
    See Also:
    Serialized Form