public abstract class BaseTuple extends Object implements Tuple
| Modifier and Type | Field and Description |
|---|---|
protected Tuple |
handleNext |
protected Tuple |
handlePrevious |
protected Sink |
sink |
protected Tuple |
stagedNext |
protected Tuple |
stagedPrevious |
| Constructor and Description |
|---|
BaseTuple() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
clearStaged() |
void |
decreaseActivationCountForEvents() |
InternalFactHandle |
get(Declaration declaration)
Returns the
FactHandle for the given Declaration, which in turn
specifcy the Pattern that they depend on. |
Object |
getContextObject() |
InternalFactHandle |
getFactHandle() |
Tuple |
getHandleNext() |
Tuple |
getHandlePrevious() |
Tuple |
getNext() |
Object |
getObject(Declaration declaration) |
InternalFactHandle |
getOriginalFactHandle()
This method is used by the consequence invoker (generated via asm by the ConsequenceGenerator)
to always pass to the consequence the original fact handle even in case when it has been
cloned and linked by a WindowNode
|
Tuple |
getPrevious() |
PropagationContext |
getPropagationContext() |
Tuple |
getRootTuple() |
short |
getStagedType() |
void |
increaseActivationCountForEvents() |
boolean |
isExpired() |
void |
setContextObject(Object contextObject) |
void |
setExpired(boolean expired) |
void |
setFactHandle(InternalFactHandle handle) |
void |
setHandleNext(Tuple handleNext) |
void |
setHandlePrevious(Tuple handlePrevious) |
void |
setNext(Tuple next) |
void |
setPrevious(Tuple previous) |
void |
setPropagationContext(PropagationContext propagationContext) |
void |
setStagedNext(Tuple stageNext) |
void |
setStagedPrevious(Tuple stagedPrevious) |
void |
setStagedType(short stagedType) |
Tuple |
skipEmptyHandles() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getFirstChild, getIndex, getInputOtnId, getLastChild, getMemory, getObject, getParent, getStagedNext, getStagedPrevious, getSubTuple, getTupleSink, getTupleSource, reAdd, setFirstChild, setLastChild, setMemory, size, toFactHandles, toObjects, unlinkFromLeftParent, unlinkFromRightParentprotected Tuple stagedNext
protected Tuple stagedPrevious
protected Sink sink
protected Tuple handlePrevious
protected Tuple handleNext
public Object getObject(Declaration declaration)
public Object getContextObject()
getContextObject in interface Tuplepublic final void setContextObject(Object contextObject)
setContextObject in interface Tuplepublic short getStagedType()
getStagedType in interface Tuplepublic void setStagedType(short stagedType)
setStagedType in interface Tuplepublic void clearStaged()
clearStaged in interface Tuplepublic InternalFactHandle getFactHandle()
getFactHandle in interface Tuplepublic InternalFactHandle getOriginalFactHandle()
getOriginalFactHandle in interface Tuplepublic void setFactHandle(InternalFactHandle handle)
setFactHandle in interface Tuplepublic PropagationContext getPropagationContext()
getPropagationContext in interface Tuplepublic void setPropagationContext(PropagationContext propagationContext)
setPropagationContext in interface Tuplepublic void setStagedNext(Tuple stageNext)
setStagedNext in interface Tuplepublic void setStagedPrevious(Tuple stagedPrevious)
setStagedPrevious in interface Tuplepublic Tuple getPrevious()
getPrevious in interface Tuplepublic void setPrevious(Tuple previous)
setPrevious in interface Tuplepublic InternalFactHandle get(Declaration declaration)
TupleFactHandle for the given Declaration, which in turn
specifcy the Pattern that they depend on.public void increaseActivationCountForEvents()
increaseActivationCountForEvents in interface Tuplepublic void decreaseActivationCountForEvents()
decreaseActivationCountForEvents in interface Tuplepublic Tuple getRootTuple()
getRootTuple in interface Tuplepublic Tuple skipEmptyHandles()
skipEmptyHandles in interface Tuplepublic Tuple getHandlePrevious()
getHandlePrevious in interface Tuplepublic void setHandlePrevious(Tuple handlePrevious)
setHandlePrevious in interface Tuplepublic Tuple getHandleNext()
getHandleNext in interface Tuplepublic void setHandleNext(Tuple handleNext)
setHandleNext in interface Tuplepublic void setExpired(boolean expired)
setExpired in interface TupleCopyright © 2001–2018 JBoss by Red Hat. All rights reserved.