public class QueryElementNode
extends LeftTupleSource
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryElementNode.QueryElementNodeMemory |
static class |
QueryElementNode.UnificationNodeViewChangedEventListener |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
openQuery |
protected QueryElement |
queryElement |
| Constructor and Description |
|---|
QueryElementNode() |
QueryElementNode(int id,
LeftTupleSource tupleSource,
QueryElement queryElement,
boolean tupleMemoryEnabled,
boolean openQuery,
BuildContext context) |
| Modifier and Type | Method and Description |
|---|---|
void |
assertLeftTuple(LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
attach(BuildContext context) |
protected QueryElementNode.UnificationNodeViewChangedEventListener |
createCollector(LeftTuple leftTuple,
int[] varIndexes,
boolean tupleMemoryEnabled) |
DroolsQuery |
createDroolsQuery(LeftTuple leftTuple,
InternalFactHandle handle,
StackEntry stackEntry,
java.util.List<PathMemory> pmems,
QueryElementNode.QueryElementNodeMemory qmem,
LeftTupleSink sink,
InternalWorkingMemory workingMemory) |
InternalFactHandle |
createFactHandle(PropagationContext context,
InternalWorkingMemory workingMemory,
LeftTuple leftTuple) |
LeftTuple |
createLeftTuple(InternalFactHandle factHandle,
LeftTuple leftTuple,
Sink sink) |
LeftTuple |
createLeftTuple(InternalFactHandle factHandle,
Sink sink,
boolean leftTupleMemoryEnabled) |
LeftTuple |
createLeftTuple(LeftTuple leftTuple,
RightTuple rightTuple,
LeftTuple currentLeftChild,
LeftTuple currentRightChild,
Sink sink,
boolean leftTupleMemoryEnabled) |
LeftTuple |
createLeftTuple(LeftTuple leftTuple,
RightTuple rightTuple,
Sink sink) |
LeftTuple |
createLeftTuple(LeftTuple leftTuple,
Sink sink,
PropagationContext pctx,
boolean leftTupleMemoryEnabled) |
QueryElementNode.QueryElementNodeMemory |
createMemory(RuleBaseConfiguration config,
InternalWorkingMemory wm) |
LeftTuple |
createPeer(LeftTuple original) |
protected boolean |
doRemove(RuleRemovalContext context,
ReteooBuilder builder,
InternalWorkingMemory[] workingMemories) |
boolean |
equals(java.lang.Object object) |
java.lang.Object[] |
getActualArguments(LeftTuple leftTuple,
InternalWorkingMemory workingMemory) |
LeftTupleSinkNode |
getNextLeftTupleSinkNode()
Returns the next node
|
ObjectTypeNode |
getObjectTypeNode() |
LeftTupleSinkNode |
getPreviousLeftTupleSinkNode()
Returns the previous node
|
QueryElement |
getQueryElement() |
short |
getType() |
protected boolean |
internalEquals(java.lang.Object object) |
boolean |
isLeftTupleMemoryEnabled() |
boolean |
isOpenQuery() |
void |
networkUpdated(UpdateContext updateContext) |
void |
readExternal(java.io.ObjectInput in) |
void |
retractLeftTuple(LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled) |
void |
setNextLeftTupleSinkNode(LeftTupleSinkNode next)
Sets the next node
|
void |
setPreviousLeftTupleSinkNode(LeftTupleSinkNode previous)
Sets the previous node
|
java.lang.String |
toString() |
void |
writeExternal(java.io.ObjectOutput out) |
public QueryElementNode()
public QueryElementNode(int id,
LeftTupleSource tupleSource,
QueryElement queryElement,
boolean tupleMemoryEnabled,
boolean openQuery,
BuildContext context)
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
java.io.IOExceptionjava.lang.ClassNotFoundExceptionpublic void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
java.io.IOExceptionpublic void networkUpdated(UpdateContext updateContext)
public short getType()
public boolean isLeftTupleMemoryEnabled()
public QueryElement getQueryElement()
public boolean isOpenQuery()
public InternalFactHandle createFactHandle(PropagationContext context,
InternalWorkingMemory workingMemory,
LeftTuple leftTuple)
public DroolsQuery createDroolsQuery(LeftTuple leftTuple,
InternalFactHandle handle,
StackEntry stackEntry,
java.util.List<PathMemory> pmems,
QueryElementNode.QueryElementNodeMemory qmem,
LeftTupleSink sink,
InternalWorkingMemory workingMemory)
public java.lang.Object[] getActualArguments(LeftTuple leftTuple,
InternalWorkingMemory workingMemory)
protected QueryElementNode.UnificationNodeViewChangedEventListener createCollector(LeftTuple leftTuple, int[] varIndexes, boolean tupleMemoryEnabled)
public void setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled)
public LeftTupleSinkNode getNextLeftTupleSinkNode()
public void setNextLeftTupleSinkNode(LeftTupleSinkNode next)
next - The next TupleSinkNodepublic LeftTupleSinkNode getPreviousLeftTupleSinkNode()
public void setPreviousLeftTupleSinkNode(LeftTupleSinkNode previous)
previous - The previous TupleSinkNodepublic LeftTuple createLeftTuple(InternalFactHandle factHandle,
Sink sink,
boolean leftTupleMemoryEnabled)
public LeftTuple createLeftTuple(InternalFactHandle factHandle,
LeftTuple leftTuple,
Sink sink)
public LeftTuple createLeftTuple(LeftTuple leftTuple,
Sink sink,
PropagationContext pctx,
boolean leftTupleMemoryEnabled)
public LeftTuple createLeftTuple(LeftTuple leftTuple,
RightTuple rightTuple,
Sink sink)
public LeftTuple createLeftTuple(LeftTuple leftTuple,
RightTuple rightTuple,
LeftTuple currentLeftChild,
LeftTuple currentRightChild,
Sink sink,
boolean leftTupleMemoryEnabled)
public boolean equals(java.lang.Object object)
protected boolean internalEquals(java.lang.Object object)
public QueryElementNode.QueryElementNodeMemory createMemory(RuleBaseConfiguration config, InternalWorkingMemory wm)
public ObjectTypeNode getObjectTypeNode()
public LeftTuple createPeer(LeftTuple original)
public java.lang.String toString()
public void assertLeftTuple(LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
public void retractLeftTuple(LeftTuple leftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory)
public void attach(BuildContext context)
protected boolean doRemove(RuleRemovalContext context,
ReteooBuilder builder,
InternalWorkingMemory[] workingMemories)
Copyright © 2018 SAP SE. All Rights Reserved.