public class ReteQueryElementNode
extends org.drools.core.reteoo.QueryElementNode
Modifier and Type | Class and Description |
---|---|
static class |
ReteQueryElementNode.QueryInsertAction |
static class |
ReteQueryElementNode.QueryResultInsertAction |
static class |
ReteQueryElementNode.QueryResultRetractAction |
static class |
ReteQueryElementNode.QueryResultUpdateAction |
static class |
ReteQueryElementNode.QueryRetractAction |
static class |
ReteQueryElementNode.QueryUpdateAction |
static class |
ReteQueryElementNode.ReteUnificationNodeViewChangedEventListener |
Constructor and Description |
---|
ReteQueryElementNode() |
ReteQueryElementNode(int id,
org.drools.core.reteoo.LeftTupleSource tupleSource,
org.drools.core.rule.QueryElement queryElement,
boolean tupleMemoryEnabled,
boolean openQuery,
org.drools.core.reteoo.builder.BuildContext context) |
Modifier and Type | Method and Description |
---|---|
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) |
protected org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener |
createCollector(org.drools.core.reteoo.LeftTuple leftTuple,
int[] varIndexes,
boolean tupleMemoryEnabled) |
protected boolean |
doRemove(org.drools.core.reteoo.RuleRemovalContext context,
org.drools.core.reteoo.ReteooBuilder builder,
org.drools.core.common.InternalWorkingMemory[] workingMemories) |
void |
modifyLeftTuple(org.drools.core.common.InternalFactHandle factHandle,
org.drools.core.reteoo.ModifyPreviousTuples modifyPreviousTuples,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory) |
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) |
void |
updateSink(org.drools.core.reteoo.LeftTupleSink sink,
org.drools.core.spi.PropagationContext context,
org.drools.core.common.InternalWorkingMemory workingMemory) |
createDroolsQuery, createFactHandle, createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createLeftTuple, createMemory, createPeer, equals, getLeftTupleSource, getNextLeftTupleSinkNode, getObjectTypeNode, getPreviousLeftTupleSinkNode, getQueryElement, getType, hashCode, isLeftTupleMemoryEnabled, isOpenQuery, networkUpdated, readExternal, setLeftTupleMemoryEnabled, setNextLeftTupleSinkNode, setPreviousLeftTupleSinkNode, toString, writeExternal
addTupleSink, addTupleSink, addTupleSink, getLeftDeclaredMask, getLeftInferredMask, getLeftInputOtnId, getLeftNegativeMask, getObjectType, getSinkPropagator, initDeclaredMask, initInferredMask, initMasks, isInUse, removeTupleSink, setLeftInferredMask, setLeftInputOtnId, setLeftListenedProperties, setLeftTupleSource
addAssociation, addAssociation, getAssociationsSize, getAssociationsSize, getId, getPartitionId, isAssociatedWith, isStreamMode, remove, removeAssociation, setId, setPartitionId, setStreamMode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getLeftInferredMask, getLeftInputOtnId, setLeftInputOtnId
public ReteQueryElementNode()
public ReteQueryElementNode(int id, org.drools.core.reteoo.LeftTupleSource tupleSource, org.drools.core.rule.QueryElement queryElement, boolean tupleMemoryEnabled, boolean openQuery, org.drools.core.reteoo.builder.BuildContext context)
public void modifyLeftTuple(org.drools.core.common.InternalFactHandle factHandle, org.drools.core.reteoo.ModifyPreviousTuples modifyPreviousTuples, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
modifyLeftTuple
in interface org.drools.core.reteoo.LeftTupleSink
modifyLeftTuple
in class org.drools.core.reteoo.QueryElementNode
public void assertLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
assertLeftTuple
in interface org.drools.core.reteoo.LeftTupleSink
assertLeftTuple
in class org.drools.core.reteoo.QueryElementNode
public void modifyLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
modifyLeftTuple
in interface org.drools.core.reteoo.LeftTupleSink
modifyLeftTuple
in class org.drools.core.reteoo.QueryElementNode
public void retractLeftTuple(org.drools.core.reteoo.LeftTuple leftTuple, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
retractLeftTuple
in interface org.drools.core.reteoo.LeftTupleSink
retractLeftTuple
in class org.drools.core.reteoo.QueryElementNode
public void attach(org.drools.core.reteoo.builder.BuildContext context)
attach
in class org.drools.core.reteoo.QueryElementNode
protected boolean doRemove(org.drools.core.reteoo.RuleRemovalContext context, org.drools.core.reteoo.ReteooBuilder builder, org.drools.core.common.InternalWorkingMemory[] workingMemories)
doRemove
in class org.drools.core.reteoo.QueryElementNode
public void updateSink(org.drools.core.reteoo.LeftTupleSink sink, org.drools.core.spi.PropagationContext context, org.drools.core.common.InternalWorkingMemory workingMemory)
updateSink
in class org.drools.core.reteoo.QueryElementNode
protected org.drools.core.reteoo.QueryElementNode.UnificationNodeViewChangedEventListener createCollector(org.drools.core.reteoo.LeftTuple leftTuple, int[] varIndexes, boolean tupleMemoryEnabled)
createCollector
in class org.drools.core.reteoo.QueryElementNode
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.