public class RightTupleImpl extends BaseTuple implements RightTuple
handleNext, handlePrevious, sink, stagedNext, stagedPrevious
Constructor and Description |
---|
RightTupleImpl() |
RightTupleImpl(InternalFactHandle handle) |
RightTupleImpl(InternalFactHandle handle,
RightTupleSink sink) |
decreaseActivationCountForEvents, get, getContextObject, getFactHandle, getNext, getObject, getPrevious, getPropagationContext, getRootTuple, getStagedType, increaseActivationCountForEvents, isExpired, setContextObject, setFactHandle, setHandleNext, setHandlePrevious, setNext, setPrevious, setPropagationContext, setStagedNext, setStagedPrevious, setStagedType, skipEmptyHandles
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
decreaseActivationCountForEvents, get, getContextObject, getFactHandle, getObject, getPrevious, getPropagationContext, getRootTuple, getStagedType, increaseActivationCountForEvents, isExpired, setContextObject, setFactHandle, setHandleNext, setHandlePrevious, setPrevious, setPropagationContext, setStagedNext, setStagedPrevious, setStagedType, skipEmptyHandles
public RightTupleImpl()
public RightTupleImpl(InternalFactHandle handle)
public RightTupleImpl(InternalFactHandle handle, RightTupleSink sink)
public RightTupleSink getTupleSink()
getTupleSink
in interface Tuple
public void unlinkFromRightParent()
unlinkFromRightParent
in interface Tuple
public void unlinkFromLeftParent()
unlinkFromLeftParent
in interface Tuple
public LeftTuple getBlocked()
getBlocked
in interface RightTuple
public void setBlocked(LeftTuple leftTuple)
setBlocked
in interface RightTuple
public void addBlocked(LeftTuple leftTuple)
addBlocked
in interface RightTuple
public void removeBlocked(LeftTuple leftTuple)
removeBlocked
in interface RightTuple
public RightTuple getHandlePrevious()
getHandlePrevious
in interface Tuple
getHandlePrevious
in class BaseTuple
public RightTuple getHandleNext()
getHandleNext
in interface Tuple
getHandleNext
in class BaseTuple
public LeftTuple getFirstChild()
getFirstChild
in interface Tuple
public void setFirstChild(LeftTuple firstChild)
setFirstChild
in interface Tuple
public LeftTuple getLastChild()
getLastChild
in interface Tuple
public void setLastChild(LeftTuple lastChild)
setLastChild
in interface Tuple
public RightTuple getStagedNext()
getStagedNext
in interface Tuple
public RightTuple getStagedPrevious()
getStagedPrevious
in interface Tuple
public LeftTuple getTempBlocked()
getTempBlocked
in interface RightTuple
public void setTempBlocked(LeftTuple tempBlocked)
setTempBlocked
in interface RightTuple
public RightTuple getTempNextRightTuple()
getTempNextRightTuple
in interface RightTuple
public void setTempNextRightTuple(RightTuple tempNextRightTuple)
setTempNextRightTuple
in interface RightTuple
public TupleMemory getTempRightTupleMemory()
getTempRightTupleMemory
in interface RightTuple
public void setTempRightTupleMemory(TupleMemory tempRightTupleMemory)
setTempRightTupleMemory
in interface RightTuple
public void clear()
public void clearStaged()
clearStaged
in interface Tuple
clearStaged
in class BaseTuple
public int size()
Tuple
public InternalFactHandle get(int pattern)
Tuple
FactHandle
for the given pattern index. If the pattern is empty
It returns null.public InternalFactHandle[] toFactHandles()
Tuple
toFactHandles
in interface Tuple
public Tuple getSubTuple(int elements)
Tuple
getSubTuple
in interface Tuple
elements
- the number of elements to return, starting from
the begining of the tuplepublic ObjectTypeNode.Id getInputOtnId()
getInputOtnId
in interface Tuple
public LeftTupleSource getTupleSource()
getTupleSource
in interface Tuple
public void modifyTuple(PropagationContext context, InternalWorkingMemory workingMemory)
modifyTuple
in interface Tuple
public void retractTuple(PropagationContext context, InternalWorkingMemory workingMemory)
retractTuple
in interface Tuple
public InternalFactHandle getFactHandleForEvaluation()
getFactHandleForEvaluation
in interface RightTuple
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.