public class FromNode<T extends FromNode.FromMemory> extends LeftTupleSource implements LeftTupleSinkNode, MemoryFactory<T>
| Modifier and Type | Class and Description |
|---|---|
static class |
FromNode.FromMemory |
| Modifier and Type | Field and Description |
|---|---|
protected AlphaNodeFieldConstraint[] |
alphaConstraints |
protected BetaConstraints |
betaConstraints |
protected DataProvider |
dataProvider |
protected From |
from |
protected LeftTupleSinkNode |
nextTupleSinkNode |
protected ObjectTypeConf |
objectTypeConf |
protected LeftTupleSinkNode |
previousTupleSinkNode |
protected boolean |
tupleMemoryEnabled |
leftDeclaredMask, leftInferredMask, leftInput, leftNegativeMask, sinkassociations, hashcode, id, memoryId, partitionId, partitionsEnabled| Constructor and Description |
|---|
FromNode() |
FromNode(int id,
DataProvider dataProvider,
LeftTupleSource tupleSource,
AlphaNodeFieldConstraint[] constraints,
BetaConstraints binder,
boolean tupleMemoryEnabled,
BuildContext context,
From from) |
addTupleSink, addTupleSink, addTupleSink, getLeftDeclaredMask, getLeftInferredMask, getLeftInputOtnId, getLeftNegativeMask, getLeftTupleSource, getObjectCount, getObjectType, getObjectTypeForPropertyReactivity, getPathIndex, getSinkPropagator, initInferredMask, initMasks, isInUse, removeTupleSink, setLeftInferredMask, setLeftInputOtnId, setLeftListenedProperties, setLeftTupleSource, setObjectCount, setPartitionIdWithSinks, setSourcePartitionId, setSourcePartitionIdaddAssociation, addAssociation, attach, getAssociatedRules, getAssociatedRuleSize, getAssociationsSize, getAssociationsSize, getId, getMemoryId, getPartitionId, getSinks, hashCode, initMemoryId, isAssociatedWith, isStreamMode, remove, removeAssociation, setId, setPartitionId, setPartitionsEnabled, setStreamMode, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetLeftInferredMask, getLeftInputOtnId, setLeftInputOtnId, setPartitionIdWithSinksgetLeftTupleSource, getObjectCount, getPathIndex, getSinkPropagator, setObjectCountgetAssociatedRuleSize, getAssociationsSize, getAssociationsSize, getId, getPartitionId, isAssociatedWithgetMemoryIdprotected DataProvider dataProvider
protected AlphaNodeFieldConstraint[] alphaConstraints
protected BetaConstraints betaConstraints
protected LeftTupleSinkNode previousTupleSinkNode
protected LeftTupleSinkNode nextTupleSinkNode
protected From from
protected boolean tupleMemoryEnabled
protected transient ObjectTypeConf objectTypeConf
public FromNode()
public FromNode(int id,
DataProvider dataProvider,
LeftTupleSource tupleSource,
AlphaNodeFieldConstraint[] constraints,
BetaConstraints binder,
boolean tupleMemoryEnabled,
BuildContext context,
From from)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class LeftTupleSourceIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class LeftTupleSourceIOExceptionpublic DataProvider getDataProvider()
public AlphaNodeFieldConstraint[] getAlphaConstraints()
public BetaConstraints getBetaConstraints()
protected void initDeclaredMask(BuildContext context, LeftTupleSource leftInput)
initDeclaredMask in class LeftTupleSourceprotected Pattern getLeftInputPattern(BuildContext context)
getLeftInputPattern in class LeftTupleSourceprotected BitMask setNodeConstraintsPropertyReactiveMask(BitMask mask, Class objectClass, List<String> accessibleProperties)
setNodeConstraintsPropertyReactiveMask in class LeftTupleSourcepublic Class<?> getResultClass()
public void networkUpdated(UpdateContext updateContext)
BaseNodenetworkUpdated in class BaseNodepublic RightTuple createRightTuple(LeftTuple leftTuple, PropagationContext context, InternalWorkingMemory workingMemory, Object object)
public InternalFactHandle createFactHandle(InternalWorkingMemory workingMemory, Object object)
public void addToCreatedHandlesMap(Map<Object,RightTuple> matches, RightTuple rightTuple)
public T createMemory(RuleBaseConfiguration config, InternalWorkingMemory wm)
createMemory in interface MemoryFactory<T extends FromNode.FromMemory>public LeftTuple createPeer(LeftTuple original)
createPeer in interface LeftTupleSinkcreatePeer in class LeftTupleSourcepublic boolean isLeftTupleMemoryEnabled()
isLeftTupleMemoryEnabled in interface LeftTupleSinkisLeftTupleMemoryEnabled in class LeftTupleSourcepublic void setLeftTupleMemoryEnabled(boolean tupleMemoryEnabled)
setLeftTupleMemoryEnabled in interface LeftTupleSinkpublic LeftTupleSinkNode getNextLeftTupleSinkNode()
getNextLeftTupleSinkNode in interface LeftTupleSinkNodepublic void setNextLeftTupleSinkNode(LeftTupleSinkNode next)
setNextLeftTupleSinkNode in interface LeftTupleSinkNodenext - The next TupleSinkNodepublic LeftTupleSinkNode getPreviousLeftTupleSinkNode()
getPreviousLeftTupleSinkNode in interface LeftTupleSinkNodepublic void setPreviousLeftTupleSinkNode(LeftTupleSinkNode previous)
setPreviousLeftTupleSinkNode in interface LeftTupleSinkNodeprevious - The previous TupleSinkNodepublic short getType()
getType in interface NetworkNodegetType in class LeftTupleSourcepublic LeftTuple createLeftTuple(InternalFactHandle factHandle, boolean leftTupleMemoryEnabled)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(InternalFactHandle factHandle, LeftTuple leftTuple, Sink sink)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(LeftTuple leftTuple, Sink sink, PropagationContext pctx, boolean leftTupleMemoryEnabled)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, Sink sink)
createLeftTuple in interface LeftTupleSinkpublic LeftTuple createLeftTuple(LeftTuple leftTuple, RightTuple rightTuple, LeftTuple currentLeftChild, LeftTuple currentRightChild, Sink sink, boolean leftTupleMemoryEnabled)
createLeftTuple in interface LeftTupleSinkpublic ObjectTypeNode getObjectTypeNode()
getObjectTypeNode in class BaseNodepublic void doAttach(BuildContext context)
protected boolean doRemove(RuleRemovalContext context, ReteooBuilder builder)
BaseNodeObjectSource or TupleSourceCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.