public static class QueryElementNode.UnificationNodeViewChangedEventListener extends Object implements InternalViewChangedEventListener
Modifier and Type | Field and Description |
---|---|
protected InternalFactHandle |
factHandle |
protected LeftTuple |
leftTuple |
protected QueryElementNode |
node |
protected boolean |
tupleMemoryEnabled |
protected int[] |
variables |
Constructor and Description |
---|
QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple,
int[] variables,
QueryElementNode node,
boolean tupleMemoryEnabled) |
Modifier and Type | Method and Description |
---|---|
protected QueryElementFactHandle |
createQueryResultHandle(PropagationContext context,
InternalWorkingMemory workingMemory,
Object[] objects) |
protected RightTuple |
createResultRightTuple(QueryElementFactHandle resultHandle,
LeftTuple resultLeftTuple,
boolean open) |
InternalFactHandle |
getFactHandle() |
LeftTuple |
getLeftTuple() |
List<? extends Object> |
getResults() |
void |
rowAdded(Rule rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
rowRemoved(Rule rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
rowUpdated(Rule rule,
LeftTuple resultLeftTuple,
PropagationContext context,
InternalWorkingMemory workingMemory) |
void |
setFactHandle(InternalFactHandle factHandle) |
void |
setVariables(int[] variables) |
protected LeftTuple leftTuple
protected QueryElementNode node
protected InternalFactHandle factHandle
protected int[] variables
protected boolean tupleMemoryEnabled
public QueryElementNode.UnificationNodeViewChangedEventListener(LeftTuple leftTuple, int[] variables, QueryElementNode node, boolean tupleMemoryEnabled)
public InternalFactHandle getFactHandle()
public void setFactHandle(InternalFactHandle factHandle)
public void setVariables(int[] variables)
public void rowAdded(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
rowAdded
in interface InternalViewChangedEventListener
protected RightTuple createResultRightTuple(QueryElementFactHandle resultHandle, LeftTuple resultLeftTuple, boolean open)
protected QueryElementFactHandle createQueryResultHandle(PropagationContext context, InternalWorkingMemory workingMemory, Object[] objects)
public void rowRemoved(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
rowRemoved
in interface InternalViewChangedEventListener
public void rowUpdated(Rule rule, LeftTuple resultLeftTuple, PropagationContext context, InternalWorkingMemory workingMemory)
rowUpdated
in interface InternalViewChangedEventListener
public List<? extends Object> getResults()
getResults
in interface InternalViewChangedEventListener
public LeftTuple getLeftTuple()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.