public interface Tuple extends Serializable, Entry<Tuple>
Tuple
s. Each Tuple
Is able to return the FactHandleImpl
members of the partial match for the requested pattern.
The pattern refers to the index position of the FactHandleImpl
in the underlying implementation.ProtobufMessages.FactHandle
Modifier and Type | Field and Description |
---|---|
static short |
DELETE |
static short |
INSERT |
static short |
NONE |
static short |
NORMALIZED_DELETE |
static short |
UPDATE |
static final short NONE
static final short INSERT
static final short UPDATE
static final short DELETE
static final short NORMALIZED_DELETE
Object getObject(int pattern)
Object getObject(Declaration declaration)
Object[] toObjects()
InternalFactHandle get(int pattern)
FactHandle
for the given pattern index. If the pattern is empty
It returns null.pattern
- The index of the pattern from which the FactHandleImpl
is to be returnedFactHandle
InternalFactHandle get(Declaration declaration)
FactHandle
for the given Declaration
, which in turn
specifcy the Pattern
that they depend on.declaration
- The Declaration
which specifies the Pattern
FactHandle
InternalFactHandle[] toFactHandles()
int size()
int getIndex()
Tuple getParent()
InternalFactHandle getFactHandle()
void setFactHandle(InternalFactHandle handle)
InternalFactHandle getOriginalFactHandle()
Tuple getSubTuple(int elements)
elements
- the number of elements to return, starting from
the begining of the tupleObject getContextObject()
void setContextObject(Object object)
short getStagedType()
void setStagedType(short stagedType)
Tuple getStagedPrevious()
void setStagedPrevious(Tuple stagePrevious)
<T extends Tuple> T getStagedNext()
void setStagedNext(Tuple stageNext)
void clear()
void clearStaged()
void reAdd()
void unlinkFromRightParent()
void unlinkFromLeftParent()
PropagationContext getPropagationContext()
void setPropagationContext(PropagationContext propagationContext)
Tuple getPrevious()
void setPrevious(Tuple previous)
<S extends Sink> S getTupleSink()
TupleList getMemory()
void setMemory(TupleList memory)
void increaseActivationCountForEvents()
void decreaseActivationCountForEvents()
Tuple getRootTuple()
Tuple skipEmptyHandles()
LeftTuple getFirstChild()
void setFirstChild(LeftTuple firstChild)
LeftTuple getLastChild()
void setLastChild(LeftTuple firstChild)
<T extends Tuple> T getHandlePrevious()
void setHandlePrevious(Tuple leftParentLeft)
<T extends Tuple> T getHandleNext()
void setHandleNext(Tuple leftParentright)
ObjectTypeNode.Id getInputOtnId()
<N extends NetworkNode> N getTupleSource()
boolean isExpired()
void setExpired(boolean expired)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.