public class RightInputAdapterNode extends ObjectSource implements LeftTupleSinkNode, PathEndNode, MemoryFactory<RightInputAdapterNode.RiaNodeMemory>
| Modifier and Type | Class and Description |
|---|---|
static class |
RightInputAdapterNode.RiaNodeMemory |
PathEndNode.PathMemSpecalphaNodeHashingThreshold, alphaNodeRangeIndexThreshold, declaredMask, inferredMask, sink, sourceassociations, hashcode, id, memoryId, partitionId, partitionsEnabled| Constructor and Description |
|---|
RightInputAdapterNode() |
RightInputAdapterNode(int id,
LeftTupleSource source,
LeftTupleSource startTupleSource,
BuildContext context)
Constructor specifying the unique id of the node in the Rete network, the position of the propagating
FactHandleImpl in
ReteTuple and the source that propagates the receive ReteTuple |
addObjectSink, getDeclaredMask, getKnowledgeBase, getObjectSinkPropagator, getObjectTypeNode, getParentObjectSource, initDeclaredMask, isInUse, removeObjectSink, resetInferredMask, setObjectSinkPropagator, setParentObjectSource, setPartitionId, setPartitionIdWithSinks, setSourcePartitionId, updateMaskaddAssociation, attach, getAssociatedRules, getAssociatedRuleSize, getAssociationsSize, getAssociationsSize, getId, getMemoryId, getPartitionId, getSinks, hashCode, initMemoryId, isAssociatedWith, isStreamMode, remove, setId, setPartitionsEnabled, setStreamModeclone, finalize, getClass, notify, notifyAll, wait, wait, waitsetPartitionIdWithSinksgetAssociatedRuleSize, getAssociationsSize, getAssociationsSize, getId, getPartitionId, isAssociatedWithcalculatePathMemSpec, calculatePathMemSpec, hasConditionalBranchNodegetMemoryIdpublic RightInputAdapterNode()
public RightInputAdapterNode(int id,
LeftTupleSource source,
LeftTupleSource startTupleSource,
BuildContext context)
FactHandleImpl in
ReteTuple and the source that propagates the receive ReteTuples.id - Unique idsource - The TupleSource which propagates the received ReteTuplepublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class ObjectSourceIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class ObjectSourceIOExceptionpublic PathEndNode.PathMemSpec getPathMemSpec()
getPathMemSpec in interface PathEndNodepublic void resetPathMemSpec(TerminalNode removingTN)
resetPathMemSpec in interface PathEndNodepublic void setPathEndNodes(PathEndNode[] pathEndNodes)
setPathEndNodes in interface PathEndNodepublic PathEndNode[] getPathEndNodes()
getPathEndNodes in interface PathEndNodepublic LeftTupleSource getStartTupleSource()
public int getPathIndex()
getPathIndex in interface LeftTupleNodepublic int getObjectCount()
getObjectCount in interface LeftTupleNodepublic void setObjectCount(int count)
setObjectCount in interface LeftTupleNodepublic RightInputAdapterNode.RiaNodeMemory createMemory(RuleBaseConfiguration config, InternalWorkingMemory wm)
createMemory in interface MemoryFactory<RightInputAdapterNode.RiaNodeMemory>public SubnetworkTuple createPeer(LeftTuple original)
createPeer in interface LeftTupleSinkpublic void doAttach(BuildContext context)
public void networkUpdated(UpdateContext updateContext)
BaseNodenetworkUpdated in class ObjectSourceprotected boolean doRemove(RuleRemovalContext context, ReteooBuilder builder)
BaseNodeObjectSource or TupleSourcedoRemove in class ObjectSourcepublic boolean isLeftTupleMemoryEnabled()
isLeftTupleMemoryEnabled in interface LeftTupleSinkpublic 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 NetworkNodepublic 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 LeftTupleSource getLeftTupleSource()
getLeftTupleSource in interface LeftTupleNodepublic void setTupleSource(LeftTupleSource tupleSource)
public ObjectTypeNode.Id getLeftInputOtnId()
getLeftInputOtnId in interface LeftTupleSinkpublic void setLeftInputOtnId(ObjectTypeNode.Id leftInputOtnId)
setLeftInputOtnId in interface LeftTupleSinkpublic BitMask calculateDeclaredMask(Class modifiedClass, List<String> settableProperties)
calculateDeclaredMask in class ObjectSourcepublic BitMask getLeftInferredMask()
getLeftInferredMask in interface LeftTupleSinkpublic void updateSink(ObjectSink sink, PropagationContext context, InternalWorkingMemory workingMemory)
updateSink in class ObjectSourcepublic LeftTupleNode[] getPathNodes()
getPathNodes in interface PathEndNodepublic boolean hasPathNode(LeftTupleNode node)
hasPathNode in interface PathEndNodepublic LeftTupleSinkPropagator getSinkPropagator()
getSinkPropagator in interface LeftTupleNodepublic void addAssociation(BuildContext context, org.kie.api.definition.rule.Rule rule)
addAssociation in class BaseNodepublic boolean removeAssociation(org.kie.api.definition.rule.Rule rule)
BaseNoderemoveAssociation in class BaseNodeCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.