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() |
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, wait
get, getFirstChild, getIndex, getInputOtnId, getLastChild, getMemory, getObject, getParent, getStagedNext, getStagedPrevious, getSubTuple, getTupleSink, getTupleSource, isDeleted, reAdd, setFirstChild, setLastChild, setMemory, size, toFactHandles, toObjects, toObjects, unlinkFromLeftParent, unlinkFromRightParent
protected 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 Tuple
public final void setContextObject(Object contextObject)
setContextObject
in interface Tuple
public short getStagedType()
getStagedType
in interface Tuple
public void setStagedType(short stagedType)
setStagedType
in interface Tuple
public void clearStaged()
clearStaged
in interface Tuple
public InternalFactHandle getFactHandle()
getFactHandle
in interface Tuple
public InternalFactHandle getOriginalFactHandle()
getOriginalFactHandle
in interface Tuple
public void setFactHandle(InternalFactHandle handle)
setFactHandle
in interface Tuple
public PropagationContext getPropagationContext()
getPropagationContext
in interface Tuple
public void setPropagationContext(PropagationContext propagationContext)
setPropagationContext
in interface Tuple
public void setStagedNext(Tuple stageNext)
setStagedNext
in interface Tuple
public void setStagedPrevious(Tuple stagedPrevious)
setStagedPrevious
in interface Tuple
public Tuple getPrevious()
getPrevious
in interface Tuple
public void setPrevious(Tuple previous)
setPrevious
in interface Tuple
public InternalFactHandle get(Declaration declaration)
Tuple
FactHandle
for the given Declaration
, which in turn
specifcy the Pattern
that they depend on.public void increaseActivationCountForEvents()
increaseActivationCountForEvents
in interface Tuple
public void decreaseActivationCountForEvents()
decreaseActivationCountForEvents
in interface Tuple
public Tuple getRootTuple()
getRootTuple
in interface Tuple
public Tuple skipEmptyHandles()
skipEmptyHandles
in interface Tuple
public Tuple getHandlePrevious()
getHandlePrevious
in interface Tuple
public void setHandlePrevious(Tuple handlePrevious)
setHandlePrevious
in interface Tuple
public Tuple getHandleNext()
getHandleNext
in interface Tuple
public void setHandleNext(Tuple handleNext)
setHandleNext
in interface Tuple
public void setExpired()
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.