public class AddRemoveRule extends Object
Constructor and Description |
---|
AddRemoveRule() |
Modifier and Type | Method and Description |
---|---|
static void |
addRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase kBase) |
static void |
correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm) |
static void |
correctSegmentMemoryAfterSplitOnRemove(SegmentMemory sm) |
static void |
deleteFacts(LeftTupleSink startNode,
InternalWorkingMemory wm) |
static boolean |
flushLeftTupleIfNecessary(InternalWorkingMemory wm,
SegmentMemory sm,
LeftTuple leftTuple,
boolean streamMode) |
static int |
getSegmentPos(LeftTupleSource lts,
RuleImpl removingRule) |
static void |
mergeSegment(SegmentMemory sm1,
SegmentMemory sm2) |
static void |
processLeftTuples(LeftTupleSource node,
LeftTupleSink peerNode,
SegmentMemory smem,
InternalWorkingMemory wm,
boolean insert)
Populates the SegmentMemory with staged LeftTuples.
|
static void |
removeRule(TerminalNode tn,
InternalWorkingMemory[] wms,
InternalKnowledgeBase kBase) |
static SegmentMemory |
splitSegment(SegmentMemory sm1,
LeftTupleSource splitNode) |
public static void addRule(TerminalNode tn, InternalWorkingMemory[] wms, InternalKnowledgeBase kBase)
public static void removeRule(TerminalNode tn, InternalWorkingMemory[] wms, InternalKnowledgeBase kBase)
public static boolean flushLeftTupleIfNecessary(InternalWorkingMemory wm, SegmentMemory sm, LeftTuple leftTuple, boolean streamMode)
public static void correctSegmentMemoryAfterSplitOnAdd(SegmentMemory sm)
public static void correctSegmentMemoryAfterSplitOnRemove(SegmentMemory sm)
public static int getSegmentPos(LeftTupleSource lts, RuleImpl removingRule)
public static void deleteFacts(LeftTupleSink startNode, InternalWorkingMemory wm)
public static void processLeftTuples(LeftTupleSource node, LeftTupleSink peerNode, SegmentMemory smem, InternalWorkingMemory wm, boolean insert)
public static SegmentMemory splitSegment(SegmentMemory sm1, LeftTupleSource splitNode)
public static void mergeSegment(SegmentMemory sm1, SegmentMemory sm2)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.